Documentation ¶
Index ¶
- type Service
- func (s *Service) Authenticate(ctx context.Context, r *authn.Request) (*authn.Identity, error)
- func (s *Service) Login(ctx context.Context, client string, r *authn.Request) (identity *authn.Identity, err error)
- func (s *Service) RedirectURL(ctx context.Context, client string, r *authn.Request) (*authn.Redirect, error)
- func (s *Service) RegisterClient(c authn.Client)
- func (s *Service) RegisterPostAuthHook(hook authn.PostAuthHookFn, priority uint)
- func (s *Service) RegisterPostLoginHook(hook authn.PostLoginHookFn, priority uint)
- func (s *Service) SyncIdentity(ctx context.Context, identity *authn.Identity) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func ProvideService ¶
func ProvideService( cfg *setting.Cfg, tracer tracing.Tracer, orgService org.Service, sessionService auth.UserTokenService, accessControlService accesscontrol.Service, apikeyService apikey.Service, userService user.Service, jwtService auth.JWTVerifierService, usageStats usagestats.Service, anonDeviceService anonymous.Service, userProtectionService login.UserProtectionService, loginAttempts loginattempt.Service, quotaService quota.Service, authInfoService login.AuthInfoService, renderService rendering.Service, features *featuremgmt.FeatureManager, oauthTokenService oauthtoken.OAuthTokenService, socialService social.Service, cache *remotecache.RemoteCache, ldapService service.LDAP, registerer prometheus.Registerer, signingKeysService signingkeys.Service, oauthServer oauthserver.OAuth2Server, ) *Service
func (*Service) Authenticate ¶
func (*Service) RedirectURL ¶
func (*Service) RegisterClient ¶
func (*Service) RegisterPostAuthHook ¶
func (s *Service) RegisterPostAuthHook(hook authn.PostAuthHookFn, priority uint)
func (*Service) RegisterPostLoginHook ¶
func (s *Service) RegisterPostLoginHook(hook authn.PostLoginHookFn, priority uint)
Click to show internal directories.
Click to hide internal directories.