public override string ToString() { return(MsalCacheKeys.GetCredentialKey( _homeAccountId, _environment, StorageJsonValues.CredentialTypeIdToken, _clientId, _tenantId, scopes: null)); }
public override string ToString() { return(MsalCacheKeys.GetCredentialKey( _homeAccountId, _environment, StorageJsonValues.CredentialTypeAccessToken, _clientId, _tenantId, _normalizedScopes)); }
public override string ToString() { return(MsalCacheKeys.GetCredentialKey( _homeAccountId, _environment, _credentialDescriptor, _clientId, _tenantId, _normalizedScopes, _extraKeyParts)); }
public string ToLogString(bool piiEnabled = false) { return(MsalCacheKeys.GetCredentialKey( piiEnabled? _homeAccountId : _homeAccountId?.GetHashCode().ToString(), _environment, _credentialDescriptor, _clientId, _tenantId, _normalizedScopes, _extraKeyParts)); }
public override string ToString() { // FRT if (!string.IsNullOrWhiteSpace(_familyId)) { string d = MsalCacheKeys.CacheKeyDelimiter; return($"{_homeAccountId}{d}{_environment}{d}{StorageJsonValues.CredentialTypeRefreshToken}{d}{_familyId}{d}{d}".ToLowerInvariant()); } return(MsalCacheKeys.GetCredentialKey( _homeAccountId, _environment, StorageJsonValues.CredentialTypeRefreshToken, _clientId, tenantId: null, scopes: null)); }