TokenCacheNotificationArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
- tokenCache
- ITokenCacheSerializer
- 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
- tokenCache
- ITokenCacheSerializer
- 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
- 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
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
- 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
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기