CredentialEntity: {
    clientId: string;
    credentialType: CredentialType;
    environment: string;
    familyId?: string;
    homeAccountId: string;
    keyId?: string;
    realm?: string;
    requestedClaimsHash?: string;
    secret: string;
    target?: string;
    tokenType?: AuthenticationScheme;
    userAssertionHash?: string;
}

Credential Cache Type

Type declaration

  • clientId: string

    Client ID of the application

  • credentialType: CredentialType

    Type of credential

  • environment: string

    Entity that issued the token, represented as a full host

  • Optional familyId?: string

    Family ID identifier, usually only used for refresh tokens

  • homeAccountId: string

    Identifier for the user in their home tenant

  • Optional keyId?: string

    KeyId for PoP and SSH tokens stored in the kid claim

  • Optional realm?: string

    Full tenant or organizational identifier that the account belongs to

  • Optional requestedClaimsHash?: string

    Matches the SHA 256 hash of the claims object included in the token request

  • secret: string

    Actual credential as a string

  • Optional target?: string

    Permissions that are included in the token, or for refresh tokens, the resource identifier.

  • Optional tokenType?: AuthenticationScheme

    Matches the authentication scheme for which the token was issued (i.e. Bearer or pop)

  • Optional userAssertionHash?: string

    Matches the SHA 256 hash of the obo_assertion for the OBO flow

Generated using TypeDoc