Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthInterface ¶
type AuthInterface interface { GetKeys() []common.JWTKey GetCurrentKey() common.JWTKey RotateKeys(context.Context) error RefreshKeys(context.Context, bool) ([]common.JWTKey, error) }
AuthInterface will contain interface to interact with different auth providers.
func AuthProvider ¶
func AuthProvider(ctx context.Context, mode string, store common.Datastore) (AuthInterface, error)
Click to show internal directories.
Click to hide internal directories.