Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseIssuerListString ¶ added in v0.1.3
ParseIssuerListString will Split comma- and/or space-delimited list into a slice
Example:
"https://example.com/, https://therootcompany.github.io/libauth/"
Types ¶
type IssuerList ¶ added in v0.1.3
IssuerList is the trusted list of token issuers
func ParseIssuerEnvs ¶ added in v0.1.3
func ParseIssuerEnvs(issuersEnvName, internalEnvName string) (IssuerList, error)
ParseIssuerEnvs will parse ENVs (both comma- and space-delimited) to create a trusted IssuerList of public and/or internal issuer URLs.
Example:
OIDC_ISSUERS='https://example.com/ https://therootcompany.github.io/libauth/' OIDC_ISSUERS_INTERNAL='http://localhost:3000/ http://my-service-name:8080/'
type JWS ¶
type JWS struct { keypairs.JWS Trusted bool `json:"trusted"` Errors []error `json:"errors,omitempty"` }
JWS is keypairs.JWS with added debugging information
Click to show internal directories.
Click to hide internal directories.