Partilhar via


AuthenticationTokenExtensions.StoreTokens Método

Definição

Sobrecargas

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

Armazena um conjunto de tokens de autenticação, depois de remover tokens antigos.

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

Origem:
TokenExtensions.cs
Origem:
TokenExtensions.cs
Origem:
TokenExtensions.cs

Armazena um conjunto de tokens de autenticação, depois de remover tokens antigos.

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

tokens
IEnumerable<AuthenticationToken>

Os tokens a serem armazenados.

Aplica-se 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

Aplica-se a