다음을 통해 공유


AuthenticationTokenExtensions.StoreTokens 메서드

정의

오버로드

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

이전 토큰을 제거한 후 인증 토큰 집합을 저장합니다.

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

Source:
TokenExtensions.cs
Source:
TokenExtensions.cs
Source:
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))

매개 변수

적용 대상