Documentation ¶
Index ¶
Constants ¶
View Source
const AuthHeaderCtxKey = "authHeader"
View Source
const HeaderSpiffeValue = "X-Forwarded-Client-Cert"
View Source
const SpiffeCtxKey = "spiffe"
View Source
const TenantIdCtxKey = "tenantId"
View Source
const WebTokenCtxKey = "webToken"
Variables ¶
This section is empty.
Functions ¶
func GetSpiffeUrlValue ¶
func GetURIValue ¶
Types ¶
type IssuerAttributes ¶
type ParsedAttributes ¶
type ParsedAttributes struct { Audiences []string `json:"aud"` Mail string `json:"mail,omitempty"` }
ParsedAttributes exposes the claims which require of treatment on our side due to incompatibilities between IAS Applications
type UserAttributes ¶
type UserAttributes struct { FirstName string `json:"first_name,omitempty"` LastName string `json:"last_name,omitempty"` }
UserAttributes contains the list of attributes sent to the application by the OIDC Provider
type WebToken ¶
type WebToken struct { IssuerAttributes UserAttributes ParsedAttributes }
WebToken contains a deserialized id_token sent to the application by the IAS Tenant
Click to show internal directories.
Click to hide internal directories.