Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientInfo ¶ added in v0.16.0
type OIDCTenant ¶
type OIDCTenant struct { ProviderJSON ProviderJSON // contains filtered or unexported fields }
OIDCTenant represents one IAS tenant correlating with one app_tid and client_id with it's OIDC discovery results and cached JWKs
func NewOIDCTenant ¶
func NewOIDCTenant(httpClient *http.Client, targetIssHost string) (*OIDCTenant, error)
NewOIDCTenant instantiates a new OIDCTenant and performs the OIDC discovery
func (*OIDCTenant) GetJWKs ¶
func (ks *OIDCTenant) GetJWKs(clientInfo ClientInfo) (jwk.Set, error)
GetJWKs returns the validation keys either cached or updated ones
type ProviderJSON ¶
type ProviderJSON struct { Issuer string `json:"issuer"` AuthURL string `json:"authorization_endpoint"` TokenURL string `json:"token_endpoint"` JWKsURL string `json:"jwks_uri"` UserInfoURL string `json:"userinfo_endpoint"` }
ProviderJSON represents data which is returned by the tenants /.well-known/openid-configuration endpoint
Click to show internal directories.
Click to hide internal directories.