Generate Account Id key component as per the schema:
Generate Credential Id key component as per the schema:
generates credential key
Generate target key component as per schema:
returns the type of the cache (in this case credential)
Create RefreshTokenEntity
generates credential key
<home_account_id*>-<environment>-
helper function to return CredentialType
Validates an entity: checks for all expected params
Generated using TypeDoc
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. }