Поделиться через


AuthenticationTokenExtensions.StoreTokens Метод

Определение

Перегрузки

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

Сохраняет набор маркеров проверки подлинности после удаления старых маркеров.

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

Исходный код:
TokenExtensions.cs
Исходный код:
TokenExtensions.cs
Исходный код:
TokenExtensions.cs

Сохраняет набор маркеров проверки подлинности после удаления старых маркеров.

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

Параметры

properties
AuthenticationProperties

Свойства AuthenticationProperties .

tokens
IEnumerable<AuthenticationToken>

Токены для хранения.

Применяется к

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

Параметры

Применяется к