Directories
¶
| Path | Synopsis |
|---|---|
|
Package authentication defines the protocol-neutral authentication contracts shared by every authenticator in this module.
|
Package authentication defines the protocol-neutral authentication contracts shared by every authenticator in this module. |
|
apitoken
Package apitoken issues and authenticates long-lived personal and service API tokens of the form <prefix>_<id>_<secret>.
|
Package apitoken issues and authenticates long-lived personal and service API tokens of the form <prefix>_<id>_<secret>. |
|
device
Package device implements an OAuth 2.0 Device Authorization Grant (RFC 8628) client for command-line tools on machines without a browser.
|
Package device implements an OAuth 2.0 Device Authorization Grant (RFC 8628) client for command-line tools on machines without a browser. |
|
jwt
Package jwt authenticates signed JSON Web Tokens (RFC 7519) as authentication.Credential values of kind authentication.CredentialKindJWT.
|
Package jwt authenticates signed JSON Web Tokens (RFC 7519) as authentication.Credential values of kind authentication.CredentialKindJWT. |
|
magiclink
Package magiclink issues and consumes single-use, short-lived login links.
|
Package magiclink issues and consumes single-use, short-lived login links. |
|
metadata
Package metadata caches identity provider metadata documents (issuer and endpoint URLs, supported algorithms and scopes) in a cache Cache.
|
Package metadata caches identity provider metadata documents (issuer and endpoint URLs, supported algorithms and scopes) in a cache Cache. |
|
middleware
Package middleware adapts authentication.Authenticator to transports.
|
Package middleware adapts authentication.Authenticator to transports. |
|
oauth2
Package oauth2 implements the plain OAuth 2.0 authorization code flow with PKCE (S256) as an authentication.FederatedProvider, for providers that do not issue OpenID Connect ID tokens.
|
Package oauth2 implements the plain OAuth 2.0 authorization code flow with PKCE (S256) as an authentication.FederatedProvider, for providers that do not issue OpenID Connect ID tokens. |
|
oidc
Package oidc implements the OpenID Connect authorization code flow with PKCE (S256) and nonce as an authentication.FederatedProvider.
|
Package oidc implements the OpenID Connect authorization code flow with PKCE (S256) and nonce as an authentication.FederatedProvider. |
|
saml
Package saml authenticates SAML 2.0 Web Browser SSO responses (HTTP-POST binding) for service-provider initiated logins, as an authentication.FederatedProvider.
|
Package saml authenticates SAML 2.0 Web Browser SSO responses (HTTP-POST binding) for service-provider initiated logins, as an authentication.FederatedProvider. |
|
session
Package session manages durable, server-side login sessions with rotating refresh tokens.
|
Package session manages durable, server-side login sessions with rotating refresh tokens. |
|
sso
Package sso selects the federated login provider for a user's input: an exact provider name or an e-mail address whose domain is registered.
|
Package sso selects the federated login provider for a user's input: an exact provider name or an e-mail address whose domain is registered. |
|
Package authorization defines protocol-neutral authorization contracts: a Request of principal, action and resource entities plus context, an Authorizer that returns a Decision, and the PolicySource and EntitySource interfaces an implementation reads from.
|
Package authorization defines protocol-neutral authorization contracts: a Request of principal, action and resource entities plus context, an Authorizer that returns a Decision, and the PolicySource and EntitySource interfaces an implementation reads from. |
|
cedar
Package cedar implements authorization.Authorizer with the Cedar policy language (github.com/cedar-policy/cedar-go).
|
Package cedar implements authorization.Authorizer with the Cedar policy language (github.com/cedar-policy/cedar-go). |
|
internal
|
|
|
authtest
Package authtest holds test helpers shared by this module's tests.
|
Package authtest holds test helpers shared by this module's tests. |
Click to show internal directories.
Click to hide internal directories.