OidcClaimType uses ConstantsTrait
Enumeration of OpenID Connect claim types.
A claim type describes how a claim's value is conveyed in the UserInfo
response or ID Token (OIDC Core §5.6). It is advertised by the provider in
the claim_types_supported discovery field.
Example:
if ( in_array( OidcClaimType::DISTRIBUTED , $metadata[ OidcDiscoveryField::CLAIM_TYPES_SUPPORTED ] , true ) )
{
// provider can reference claims held by a remote claims provider
}
References:
- OpenID Connect Core 1.0 §5.6 (Claim Types)
Tags
Table of Contents
Constants
- AGGREGATED : string = 'aggregated'
- `aggregated` — Claim values are asserted by a claims provider and embedded as a self-contained JWT inside the response (OIDC Core §5.6.2).
- DISTRIBUTED : string = 'distributed'
- `distributed` — Claim values are held by a remote claims provider and referenced by an endpoint plus an access token (OIDC Core §5.6.2).
- NORMAL : string = 'normal'
- `normal` — Claim values are asserted directly by the OpenID Provider, inline in the response (OIDC Core §5.6.1).
Constants
AGGREGATED
`aggregated` — Claim values are asserted by a claims provider and embedded as a self-contained JWT inside the response (OIDC Core §5.6.2).
public
string
AGGREGATED
= 'aggregated'
DISTRIBUTED
`distributed` — Claim values are held by a remote claims provider and referenced by an endpoint plus an access token (OIDC Core §5.6.2).
public
string
DISTRIBUTED
= 'distributed'
NORMAL
`normal` — Claim values are asserted directly by the OpenID Provider, inline in the response (OIDC Core §5.6.1).
public
string
NORMAL
= 'normal'