Documentation
¶
Overview ¶
Package provider composes statically linked authentication implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Default xauth.Authenticator
JWTValidator *verifier.Config
JWTSigner *signer.Config
Cognito *cognito.Config
Firebase *firebase.Config
}
Config is trusted host configuration. Product database access is deliberately absent: the default authenticator is supplied by the application and invokes generated Datly readers and writers.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the immutable provider bound to custom handlers.
func New ¶
New constructs every configured implementation before the application is allowed to serve. Missing default/JWT services fail closed.
func (*Service) Authenticator ¶
Click to show internal directories.
Click to hide internal directories.