Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthClient ¶
type AuthClient interface {
Authenticate(context.Context, *authpb.Request, ...grpc.CallOption) (*authpb.Response, error)
}
AuthClient is a wrapper interface for an id/auth.Client that adds support for a Logout event. This allows injection of state-aware components that can trigger on both successful authentication and logout to maintain external session-scoped state.
type Config ¶
type Config struct { KnownASPServices []string `yaml:"known_asp_services"` Messages map[string]string `yaml:"messages"` WebAuthn struct { DisplayName string `yaml:"display_name"` RPID string `yaml:"rpid"` Origin string `yaml:"origin"` } `yaml:"webauthn"` ConfirmAuthService string `yaml:"confirm_auth_service" doc:"authentication service for password confirmations"` CookieAuthKey cryptutil.SessionAuthenticationKey `yaml:"cookie_auth_key" doc:"authentication key for cookies"` CookieEncKey cryptutil.SessionEncryptionKey `yaml:"cookie_enc_key" doc:"encryption key for cookies"` CSRFKey cryptutil.SessionEncryptionKey `yaml:"csrf_key" doc:"encryption key for CSRF cookies (disable CSRF if not set)"` }
Click to show internal directories.
Click to hide internal directories.