Documentation ¶
Index ¶
Constants ¶
View Source
const CacheExpiry = 60
View Source
const TYPE_CODE = "authorization_code"
View Source
const TYPE_VP_TOKEN = "vp_token"
Variables ¶
View Source
var GlobalCache = initCache()
Functions ¶
func BuildUrlString ¶
func ResetGlobalCache ¶
func ResetGlobalCache()
Types ¶
type HttpClient ¶
basic interface for a generic http client
type JwtTokenSigner ¶
type JwtTokenSigner struct{}
func (JwtTokenSigner) Sign ¶
func (JwtTokenSigner) Sign(t jwt.Token, alg jwa.SignatureAlgorithm, key interface{}, options ...jwt.SignOption) ([]byte, error)
type OpenIDProviderMetadata ¶
type OpenIDProviderMetadata struct { Issuer string `json:"issuer"` AuthorizationEndpoint string `json:"authorization_endpoint"` TokenEndpoint string `json:"token_endpoint"` PresentationDefinitionEndpoint string `json:"presentation_definition_endpoint,omitempty"` JwksUri string `json:"jwks_uri"` ScopesSupported []string `json:"scopes_supported"` ResponseTypesSupported []string `json:"response_types_supported"` ResponseModeSupported []string `json:"response_mode_supported,omitempty"` GrantTypesSupported []string `json:"grant_types_supported,omitempty"` SubjectTypesSupported []string `json:"subject_types_supported"` IdTokenSigningAlgValuesSupported []string `json:"id_token_signing_alg_values_supported"` RequestObjectSigningAlgValuesSupported []string `json:"request_object_signing_alg_values_supported,omitempty"` RequestParameterSupported bool `json:"request_parameter_supported,omitempty"` TokenEndpointAuthMethodsSupported []string `json:"token_endpoint_auth_methods_supported,omitempty"` }
type TokenSigner ¶
type TokenSigner interface {
Sign(t jwt.Token, alg jwa.SignatureAlgorithm, key interface{}, options ...jwt.SignOption) ([]byte, error)
}
Click to show internal directories.
Click to hide internal directories.