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"`
OTPIssuer string `yaml:"otp_issuer" doc:"OTP issuer organization name"`
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"`
}
Source Files
¶
- app.go
- asp.go
- change_password.go
- messages.go
- otp.go
- recovery.go
- util.go
- webauthn.go
Click to show internal directories.
Click to hide internal directories.