Resolver of claims to be added to authorization tokens.

Hierarchy

Properties

defaultAccessTokenData: null | object

Compute and return the default access-token data.

Returns

the default data, or claims, for the 'access-token' ClaimUsage.

defaultAuthorizationCodeData: null | object

Compute and return the default authorization-code data.

Returns

the default data, or claims, for the 'authorization-code' ClaimUsage.

defaultDelegationData: null | object

Compute and return the default delegation (authorization grant) data.

Returns

the default data, or claims, for the 'delegation' ClaimUsage.

defaultDeviceCodeData: null | object

Compute and return the default device-code data.

Returns

the default data, or claims, for the 'device-code' ClaimUsage.

defaultIdTokenData: null | object

Compute and return the default id-token data.

Returns

the default data, or claims, for the 'id-token' ClaimUsage.

defaultRefreshTokenData: null | object

Compute and return the default refresh-token data.

Returns

the default data, or claims, for the 'refresh-token' ClaimUsage.

defaultResponseData: null | object

All known fields to be returned as response data, initialized with default values, or null if the default or configured behaviour of this DefaultClaimsValuesProvider-implementation should not return this kind of data.

Methods

  • Compute and return the default access-token data.

    Returns

    the default data, or claims, for the 'access-token' ClaimUsage.

    Returns null | object

  • Get the cached access-token data, or compute then return it.

    Returns

    the default data, or claims, for the 'access-token' ClaimUsage.

    Parameters

    Returns null | object

  • Compute and return the default authorization-code data.

    Returns

    the default data, or claims, for the 'authorization-code' ClaimUsage.

    Returns null | object

  • Get the cached authorization-code data, or compute then return it.

    Returns

    the default data, or claims, for the 'authorization-code' ClaimUsage.

    Parameters

    Returns null | object

  • Get the default claims for the given ClaimUsage.

    Parameters

    • usage: string

    Returns null | object

  • Get the default claims for the given ClaimUsage. Use the provided cache to resolve claim values when possible.

    Parameters

    Returns null | object

  • Compute and return the default delegation (authorization grant) data.

    Returns

    the default data, or claims, for the 'delegation' ClaimUsage.

    Returns null | object

  • Get the cached delegation (authorization grant) data, or compute then return it.

    Returns

    the default data, or claims, for the 'delegation' ClaimUsage.

    Parameters

    Returns null | object

  • Compute and return the default device-code data.

    Returns

    the default data, or claims, for the 'device-code' ClaimUsage.

    Returns null | object

  • Get the cached device authorization code data, or compute then return it.

    Returns

    the default data, or claims, for the 'device-code' ClaimUsage.

    Parameters

    Returns null | object

  • Compute and return the default id-token data.

    Returns

    the default data, or claims, for the 'id-token' ClaimUsage.

    Returns null | object

  • Get the cached id-token data, or compute then return it.

    Returns

    the default data, or claims, for the 'id-token' ClaimUsage.

    Parameters

    Returns null | object

  • Compute and return the default refresh-token data.

    Returns

    the default data, or claims, for the 'refresh-token' ClaimUsage.

    Returns null | object

  • Get the cached refresh-token data, or compute then return it.

    Returns

    the default data, or claims, for the 'refresh-token' ClaimUsage.

    Parameters

    Returns null | object

  • All known fields to be returned as response data, initialized with default values, or null if the default or configured behaviour of this DefaultClaimsValuesProvider-implementation should not return this kind of data.

    Returns null | object

  • All known fields to be returned as response data, initialized with default values, or null if the default or configured behaviour of this DefaultClaimsValuesProvider-implementation should not return this kind of data.

    Parameters

    • cache: null | ClaimValuesProvider

      the cache to pull already resolved claim values from. Pass null to resolve new values.

    Returns null | object