Directories
¶
| Path | Synopsis |
|---|---|
|
Package allowlist provides basic capabilities for authorizing email addresses against a domain allowlist.
|
Package allowlist provides basic capabilities for authorizing email addresses against a domain allowlist. |
|
authn
|
|
|
localjwt
Package localjwt implements JWT authentication using local keys, which is meant for local development.
|
Package localjwt implements JWT authentication using local keys, which is meant for local development. |
|
azure
|
|
|
azjwt
Package azjwt implements JWT authentication against Azure, which has some minor peculiarities that require special handling, see https://github.com/lestrrat-go/jwx/issues/395
|
Package azjwt implements JWT authentication against Azure, which has some minor peculiarities that require special handling, see https://github.com/lestrrat-go/jwx/issues/395 |
|
cmd
|
|
|
server
command
Command server runs the credential-exchanging service API.
|
Command server runs the credential-exchanging service API. |
|
server/usersrv
Package usersrv implements the User API interface, user.StrictServerInterface, which is auto-generated from the OpenAPI 3 spec, and describes a basic mechanism for exchanging auth provider (Firebase Auth, Cognito, Azure B2C, etc) tokens for app-specific tokens.
|
Package usersrv implements the User API interface, user.StrictServerInterface, which is auto-generated from the OpenAPI 3 spec, and describes a basic mechanism for exchanging auth provider (Firebase Auth, Cognito, Azure B2C, etc) tokens for app-specific tokens. |
|
tools/genjwt
command
Command genjwt creates and signs JWT tokens using local keypairs.
|
Command genjwt creates and signs JWT tokens using local keypairs. |
|
tools/keygen
command
Command keygen is a simple CLI tool for generating ED25519 key pairs, which can be used for issuing (i.e.
|
Command keygen is a simple CLI tool for generating ED25519 key pairs, which can be used for issuing (i.e. |
|
Package flagext provides shared helpers that implement the flag.Value interface.
|
Package flagext provides shared helpers that implement the flag.Value interface. |
|
Package httpreq provides basic middleware for allowing OpenAPI endpoint handlers to access raw *http.Request fields.
|
Package httpreq provides basic middleware for allowing OpenAPI endpoint handlers to access raw *http.Request fields. |
|
Package keyutil provides some simple wrappers for serializing + deserializing cryptographic keys.
|
Package keyutil provides some simple wrappers for serializing + deserializing cryptographic keys. |
|
Package secrets validates and parses all sensitive configuration.
|
Package secrets validates and parses all sensitive configuration. |
|
Package siteverify provides utilities for verifying a token contains the expected site.
|
Package siteverify provides utilities for verifying a token contains the expected site. |
Click to show internal directories.
Click to hide internal directories.