Options
All
  • Public
  • Public/Protected
  • All
Menu

REFRESH_TOKEN Cache

Key:Value Schema:

Key Example: uid.utid-login.microsoftonline.com-refreshtoken-clientId--

Value: { homeAccountId: home account identifier for the auth scheme, environment: entity that issued the token, represented as a full host credentialType: Type of credential as a string, can be one of the following: RefreshToken, AccessToken, IdToken, Password, Cookie, Certificate, Other clientId: client ID of the application secret: Actual credential as a string familyId: Family ID identifier, '1' represents Microsoft Family realm: Full tenant or organizational identifier that the account belongs to target: Permissions that are included in the token, or for refresh tokens, the resource identifier. }

Hierarchy

Index

Constructors

constructor

Properties

clientId

clientId: string

credentialType

credentialType: CredentialType

environment

environment: string

Optional familyId

familyId: string

homeAccountId

homeAccountId: string

Optional keyId

keyId: string

Optional oboAssertion

oboAssertion: string

Optional realm

realm: string

Optional requestedClaimsHash

requestedClaimsHash: string

secret

secret: string

Optional target

target: string

Optional tokenType

Methods

generateAccountId

  • generateAccountId(): string

generateCredentialId

  • generateCredentialId(): string

generateCredentialKey

  • generateCredentialKey(): string

generateTarget

  • generateTarget(): string

generateType

  • generateType(): number

Static createRefreshTokenEntity

  • createRefreshTokenEntity(homeAccountId: string, environment: string, refreshToken: string, clientId: string, familyId?: string, oboAssertion?: string): RefreshTokenEntity

Static generateCredentialCacheKey

  • generateCredentialCacheKey(homeAccountId: string, environment: string, credentialType: CredentialType, clientId: string, realm?: string, target?: string, familyId?: string, tokenType?: AuthenticationScheme, requestedClaimsHash?: string): string

Static getCredentialType

  • getCredentialType(key: string): string

Static isRefreshTokenEntity

  • isRefreshTokenEntity(entity: object): boolean

Generated using TypeDoc