service

package
v0.0.0-...-2d73068 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2020 License: Apache-2.0 Imports: 30 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthenticationProviderService

NewAuthenticationProviderService returns a new AuthenticationProviderService implementation

func NewLinkService

NewLinkService creates a new service for linking accounts

func NewUserProfileService

func NewUserProfileService(context servicecontext.ServiceContext) service.UserProfileService

NewUserProfileService creates a new UserProfileService

func TokenToJSON

func TokenToJSON(ctx context.Context, outhToken *oauth2.Token) (string, error)

TokenToJSON marshals an oauth2 token to a json string

Types

type AuthenticationProviderServiceConfig

type AuthenticationProviderServiceConfig interface {
	provider.IdentityProviderConfiguration
	manager.TokenManagerConfiguration
	GetPublicOAuthClientID() string
	GetWITURL() (string, error)
}

type LinkServiceConfiguration

type LinkServiceConfiguration interface {
	GetValidRedirectURLs() string
}

LinkServiceConfiguration the LinkService configuration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL