AuthenticationTokenExtensions.StoreTokens 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>) |
移除任何舊權杖之後,儲存一組驗證權杖。 |
StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>) |
StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)
移除任何舊權杖之後,儲存一組驗證權杖。
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
- 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))
參數
- properties
- AuthenticationProperties
- tokens
- IEnumerable<AuthenticationToken>