AuthenticationTokenExtensions.StoreTokens Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>) |
Almacena un conjunto de tokens de autenticación, después de quitar los tokens antiguos. |
StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>) |
StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)
- Source:
- TokenExtensions.cs
- Source:
- TokenExtensions.cs
- Source:
- TokenExtensions.cs
Almacena un conjunto de tokens de autenticación, después de quitar los tokens antiguos.
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))
Parámetros
- properties
- AuthenticationProperties
Propiedades AuthenticationProperties .
- tokens
- IEnumerable<AuthenticationToken>
Tokens que se van a almacenar.
Se aplica a
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))
Parámetros
- properties
- AuthenticationProperties
- tokens
- IEnumerable<AuthenticationToken>