Compartilhar via


TokenCacheNotificationArgs Constructors

Definition

Overloads

TokenCacheNotificationArgs(ITokenCacheSerializer, String, IAccount, Boolean, Boolean, String, Boolean, Nullable<DateTimeOffset>, CancellationToken)

This constructor is for test purposes only. It allows apps to unit test their MSAL token cache implementation code.

TokenCacheNotificationArgs(ITokenCacheSerializer, String, IAccount, Boolean, Boolean, String, Boolean, Nullable<DateTimeOffset>, CancellationToken, Guid)

This constructor is for test purposes only. It allows apps to unit test their MSAL token cache implementation code.

TokenCacheNotificationArgs(ITokenCacheSerializer, String, IAccount, Boolean, Boolean, String, Boolean, Nullable<DateTimeOffset>, CancellationToken, Guid, IEnumerable<String>, String)

This constructor is for test purposes only. It allows apps to unit test their MSAL token cache implementation code.

TokenCacheNotificationArgs(ITokenCacheSerializer, String, IAccount, Boolean, Boolean, String, Boolean, Nullable<DateTimeOffset>, CancellationToken, Guid, IEnumerable<String>, String, IIdentityLogger, Boolean, TelemetryData)

This constructor is for test purposes only. It allows apps to unit test their MSAL token cache implementation code.

TokenCacheNotificationArgs(ITokenCacheSerializer, String, IAccount, Boolean, Boolean, String, Boolean, Nullable<DateTimeOffset>, CancellationToken)

This constructor is for test purposes only. It allows apps to unit test their MSAL token cache implementation code.

public TokenCacheNotificationArgs (Microsoft.Identity.Client.ITokenCacheSerializer tokenCache, string clientId, Microsoft.Identity.Client.IAccount account, bool hasStateChanged, bool isApplicationCache, string suggestedCacheKey, bool hasTokens, DateTimeOffset? suggestedCacheExpiry, System.Threading.CancellationToken cancellationToken);
new Microsoft.Identity.Client.TokenCacheNotificationArgs : Microsoft.Identity.Client.ITokenCacheSerializer * string * Microsoft.Identity.Client.IAccount * bool * bool * string * bool * Nullable<DateTimeOffset> * System.Threading.CancellationToken -> Microsoft.Identity.Client.TokenCacheNotificationArgs
Public Sub New (tokenCache As ITokenCacheSerializer, clientId As String, account As IAccount, hasStateChanged As Boolean, isApplicationCache As Boolean, suggestedCacheKey As String, hasTokens As Boolean, suggestedCacheExpiry As Nullable(Of DateTimeOffset), cancellationToken As CancellationToken)

Parameters

clientId
String
account
IAccount
hasStateChanged
Boolean
isApplicationCache
Boolean
suggestedCacheKey
String
hasTokens
Boolean
suggestedCacheExpiry
Nullable<DateTimeOffset>
cancellationToken
CancellationToken

Applies to

TokenCacheNotificationArgs(ITokenCacheSerializer, String, IAccount, Boolean, Boolean, String, Boolean, Nullable<DateTimeOffset>, CancellationToken, Guid)

This constructor is for test purposes only. It allows apps to unit test their MSAL token cache implementation code.

public TokenCacheNotificationArgs (Microsoft.Identity.Client.ITokenCacheSerializer tokenCache, string clientId, Microsoft.Identity.Client.IAccount account, bool hasStateChanged, bool isApplicationCache, string suggestedCacheKey, bool hasTokens, DateTimeOffset? suggestedCacheExpiry, System.Threading.CancellationToken cancellationToken, Guid correlationId);
new Microsoft.Identity.Client.TokenCacheNotificationArgs : Microsoft.Identity.Client.ITokenCacheSerializer * string * Microsoft.Identity.Client.IAccount * bool * bool * string * bool * Nullable<DateTimeOffset> * System.Threading.CancellationToken * Guid -> Microsoft.Identity.Client.TokenCacheNotificationArgs
Public Sub New (tokenCache As ITokenCacheSerializer, clientId As String, account As IAccount, hasStateChanged As Boolean, isApplicationCache As Boolean, suggestedCacheKey As String, hasTokens As Boolean, suggestedCacheExpiry As Nullable(Of DateTimeOffset), cancellationToken As CancellationToken, correlationId As Guid)

Parameters

clientId
String
account
IAccount
hasStateChanged
Boolean
isApplicationCache
Boolean
suggestedCacheKey
String
hasTokens
Boolean
suggestedCacheExpiry
Nullable<DateTimeOffset>
cancellationToken
CancellationToken
correlationId
Guid

Applies to

TokenCacheNotificationArgs(ITokenCacheSerializer, String, IAccount, Boolean, Boolean, String, Boolean, Nullable<DateTimeOffset>, CancellationToken, Guid, IEnumerable<String>, String)

This constructor is for test purposes only. It allows apps to unit test their MSAL token cache implementation code.

public TokenCacheNotificationArgs (Microsoft.Identity.Client.ITokenCacheSerializer tokenCache, string clientId, Microsoft.Identity.Client.IAccount account, bool hasStateChanged, bool isApplicationCache, string suggestedCacheKey, bool hasTokens, DateTimeOffset? suggestedCacheExpiry, System.Threading.CancellationToken cancellationToken, Guid correlationId, System.Collections.Generic.IEnumerable<string> requestScopes, string requestTenantId);
new Microsoft.Identity.Client.TokenCacheNotificationArgs : Microsoft.Identity.Client.ITokenCacheSerializer * string * Microsoft.Identity.Client.IAccount * bool * bool * string * bool * Nullable<DateTimeOffset> * System.Threading.CancellationToken * Guid * seq<string> * string -> Microsoft.Identity.Client.TokenCacheNotificationArgs
Public Sub New (tokenCache As ITokenCacheSerializer, clientId As String, account As IAccount, hasStateChanged As Boolean, isApplicationCache As Boolean, suggestedCacheKey As String, hasTokens As Boolean, suggestedCacheExpiry As Nullable(Of DateTimeOffset), cancellationToken As CancellationToken, correlationId As Guid, requestScopes As IEnumerable(Of String), requestTenantId As String)

Parameters

clientId
String
account
IAccount
hasStateChanged
Boolean
isApplicationCache
Boolean
suggestedCacheKey
String
hasTokens
Boolean
suggestedCacheExpiry
Nullable<DateTimeOffset>
cancellationToken
CancellationToken
correlationId
Guid
requestScopes
IEnumerable<String>
requestTenantId
String

Applies to

TokenCacheNotificationArgs(ITokenCacheSerializer, String, IAccount, Boolean, Boolean, String, Boolean, Nullable<DateTimeOffset>, CancellationToken, Guid, IEnumerable<String>, String, IIdentityLogger, Boolean, TelemetryData)

This constructor is for test purposes only. It allows apps to unit test their MSAL token cache implementation code.

public TokenCacheNotificationArgs (Microsoft.Identity.Client.ITokenCacheSerializer tokenCache, string clientId, Microsoft.Identity.Client.IAccount account, bool hasStateChanged, bool isApplicationCache, string suggestedCacheKey, bool hasTokens, DateTimeOffset? suggestedCacheExpiry, System.Threading.CancellationToken cancellationToken, Guid correlationId, System.Collections.Generic.IEnumerable<string> requestScopes, string requestTenantId, Microsoft.IdentityModel.Abstractions.IIdentityLogger identityLogger, bool piiLoggingEnabled, Microsoft.Identity.Client.TelemetryCore.TelemetryClient.TelemetryData telemetryData = default);
new Microsoft.Identity.Client.TokenCacheNotificationArgs : Microsoft.Identity.Client.ITokenCacheSerializer * string * Microsoft.Identity.Client.IAccount * bool * bool * string * bool * Nullable<DateTimeOffset> * System.Threading.CancellationToken * Guid * seq<string> * string * Microsoft.IdentityModel.Abstractions.IIdentityLogger * bool * Microsoft.Identity.Client.TelemetryCore.TelemetryClient.TelemetryData -> Microsoft.Identity.Client.TokenCacheNotificationArgs
Public Sub New (tokenCache As ITokenCacheSerializer, clientId As String, account As IAccount, hasStateChanged As Boolean, isApplicationCache As Boolean, suggestedCacheKey As String, hasTokens As Boolean, suggestedCacheExpiry As Nullable(Of DateTimeOffset), cancellationToken As CancellationToken, correlationId As Guid, requestScopes As IEnumerable(Of String), requestTenantId As String, identityLogger As IIdentityLogger, piiLoggingEnabled As Boolean, Optional telemetryData As TelemetryData = Nothing)

Parameters

clientId
String
account
IAccount
hasStateChanged
Boolean
isApplicationCache
Boolean
suggestedCacheKey
String
hasTokens
Boolean
suggestedCacheExpiry
Nullable<DateTimeOffset>
cancellationToken
CancellationToken
correlationId
Guid
requestScopes
IEnumerable<String>
requestTenantId
String
identityLogger
IIdentityLogger
piiLoggingEnabled
Boolean
telemetryData
TelemetryData

Applies to