Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type KeySet ¶
type KeySet interface { At(jwksURI string) *promise.Promise[jwt.Keyfunc] From(jwksJSON json.RawMessage) (jwt.Keyfunc, error) }
KeySet provides JWKS (JSON Web Key Sets) to verify JWT signatures.
type LoginModule ¶
type LoginModule struct {
// contains filtered or unexported fields
}
LoginModule authenticates a subject from a JWT (JSON Web Token).
func (*LoginModule) Constructor ¶
func (l *LoginModule) Constructor( _ *struct { creates.It `key:"login.jwt"` }, jwks KeySet, )
type Scope ¶
type Scope string
Scope is a grouping of claims which effectively represents a permission that is set on a token. e.g. orders:read
func (*Scope) InitWithTag ¶ added in v0.30.6
Click to show internal directories.
Click to hide internal directories.