AuthenticationTokenExtensions.StoreTokens Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>) |
Stocke un ensemble de jetons d’authentification, après avoir supprimé les anciens jetons. |
StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>) |
StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)
- Source:
- TokenExtensions.cs
- Source:
- TokenExtensions.cs
- Source:
- TokenExtensions.cs
Stocke un ensemble de jetons d’authentification, après avoir supprimé les anciens jetons.
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))
Paramètres
- properties
- AuthenticationProperties
Propriétés AuthenticationProperties .
- tokens
- IEnumerable<AuthenticationToken>
Jetons à stocker.
S’applique à
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))
Paramètres
- properties
- AuthenticationProperties
- tokens
- IEnumerable<AuthenticationToken>