Freigeben über


AuthenticationTokenExtensions.StoreTokens Methode

Definition

Überlädt

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

Speichert einen Satz von Authentifizierungstoken, nachdem alte Token entfernt wurden.

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

Quelle:
TokenExtensions.cs
Quelle:
TokenExtensions.cs
Quelle:
TokenExtensions.cs

Speichert einen Satz von Authentifizierungstoken, nachdem alte Token entfernt wurden.

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

Parameter

properties
AuthenticationProperties

Die AuthenticationProperties Eigenschaften.

tokens
IEnumerable<AuthenticationToken>

Die zu speichernden Token.

Gilt für:

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

Parameter

Gilt für: