Documentation ¶
Index ¶
- func NewAuthenticationProviderService(ctx servicecontext.ServiceContext, config AuthenticationProviderServiceConfig) service.AuthenticationProviderService
- func NewLinkService(context servicecontext.ServiceContext, config LinkServiceConfiguration) service.LinkService
- func NewUserProfileService(context servicecontext.ServiceContext) service.UserProfileService
- func TokenToJSON(ctx context.Context, outhToken *oauth2.Token) (string, error)
- type AuthenticationProviderServiceConfig
- type LinkServiceConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthenticationProviderService ¶
func NewAuthenticationProviderService(ctx servicecontext.ServiceContext, config AuthenticationProviderServiceConfig) service.AuthenticationProviderService
NewAuthenticationProviderService returns a new AuthenticationProviderService implementation
func NewLinkService ¶
func NewLinkService(context servicecontext.ServiceContext, config LinkServiceConfiguration) service.LinkService
NewLinkService creates a new service for linking accounts
func NewUserProfileService ¶
func NewUserProfileService(context servicecontext.ServiceContext) service.UserProfileService
NewUserProfileService creates a new UserProfileService
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
Click to show internal directories.
Click to hide internal directories.