AuthenticationTokenExtensions.StoreTokens Method
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
StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>) |
Stores a set of authentication tokens, after removing any old tokens. |
StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>) |
StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)
- Source:
- TokenExtensions.cs
- Source:
- TokenExtensions.cs
Stores a set of authentication tokens, after removing any old tokens.
public:
[System::Runtime::CompilerServices::Extension]
static void StoreTokens(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authentication::AuthenticationToken ^> ^ tokens);
public static void StoreTokens (this Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authentication.AuthenticationToken> tokens);
static member StoreTokens : Microsoft.AspNetCore.Authentication.AuthenticationProperties * seq<Microsoft.AspNetCore.Authentication.AuthenticationToken> -> unit
<Extension()>
Public Sub StoreTokens (properties As AuthenticationProperties, tokens As IEnumerable(Of AuthenticationToken))
Parameters
- properties
- AuthenticationProperties
The AuthenticationProperties properties.
- tokens
- IEnumerable<AuthenticationToken>
The tokens to store.
Applies to
StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)
public:
[System::Runtime::CompilerServices::Extension]
static void StoreTokens(Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authentication::AuthenticationToken ^> ^ tokens);
public static void StoreTokens (this Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authentication.AuthenticationToken> tokens);
static member StoreTokens : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * seq<Microsoft.AspNetCore.Authentication.AuthenticationToken> -> unit
<Extension()>
Public Sub StoreTokens (properties As AuthenticationProperties, tokens As IEnumerable(Of AuthenticationToken))
Parameters
- properties
- AuthenticationProperties
- tokens
- IEnumerable<AuthenticationToken>
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för