Condividi tramite


AuthenticationTokenExtensions.StoreTokens Metodo

Definizione

Overload

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

Archivia un set di token di autenticazione, dopo aver rimosso i token precedenti.

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

Origine:
TokenExtensions.cs
Origine:
TokenExtensions.cs

Archivia un set di token di autenticazione, dopo aver rimosso i token precedenti.

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))

Parametri

tokens
IEnumerable<AuthenticationToken>

Token da archiviare.

Si applica 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))

Parametri

Si applica a