TokenCacheNotificationArgs Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
TokenCacheNotificationArgs(ITokenCacheSerializer, String, IAccount, Boolean, Boolean, String, Boolean, Nullable<DateTimeOffset>, CancellationToken)
Questo costruttore è solo a scopo di test. Consente alle app di eseguire unit test del codice di implementazione della cache dei token MSAL.
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)
Parametri
- tokenCache
- ITokenCacheSerializer
- clientId
- String
- account
- IAccount
- hasStateChanged
- Boolean
- isApplicationCache
- Boolean
- suggestedCacheKey
- String
- hasTokens
- Boolean
- suggestedCacheExpiry
- Nullable<DateTimeOffset>
- cancellationToken
- CancellationToken
Si applica a
TokenCacheNotificationArgs(ITokenCacheSerializer, String, IAccount, Boolean, Boolean, String, Boolean, Nullable<DateTimeOffset>, CancellationToken, Guid)
Questo costruttore è solo a scopo di test. Consente alle app di eseguire unit test del codice di implementazione della cache dei token MSAL.
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)
Parametri
- tokenCache
- ITokenCacheSerializer
- clientId
- String
- account
- IAccount
- hasStateChanged
- Boolean
- isApplicationCache
- Boolean
- suggestedCacheKey
- String
- hasTokens
- Boolean
- suggestedCacheExpiry
- Nullable<DateTimeOffset>
- cancellationToken
- CancellationToken
- correlationId
- Guid
Si applica a
TokenCacheNotificationArgs(ITokenCacheSerializer, String, IAccount, Boolean, Boolean, String, Boolean, Nullable<DateTimeOffset>, CancellationToken, Guid, IEnumerable<String>, String)
Questo costruttore è solo a scopo di test. Consente alle app di eseguire unit test del codice di implementazione della cache dei token MSAL.
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)
Parametri
- tokenCache
- ITokenCacheSerializer
- clientId
- String
- account
- IAccount
- hasStateChanged
- Boolean
- isApplicationCache
- Boolean
- suggestedCacheKey
- String
- hasTokens
- Boolean
- suggestedCacheExpiry
- Nullable<DateTimeOffset>
- cancellationToken
- CancellationToken
- correlationId
- Guid
- requestScopes
- IEnumerable<String>
- requestTenantId
- String
Si applica a
TokenCacheNotificationArgs(ITokenCacheSerializer, String, IAccount, Boolean, Boolean, String, Boolean, Nullable<DateTimeOffset>, CancellationToken, Guid, IEnumerable<String>, String, IIdentityLogger, Boolean, TelemetryData)
Questo costruttore è solo a scopo di test. Consente alle app di eseguire unit test del codice di implementazione della cache dei token MSAL.
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)
Parametri
- tokenCache
- ITokenCacheSerializer
- 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