AuthenticationTokenExtensions.GetTokens 方法

定义

重载

GetTokens(AuthenticationProperties)

返回属性中包含的所有 AuthenticationToken 实例。

GetTokens(AuthenticationProperties)

GetTokens(AuthenticationProperties)

Source:
TokenExtensions.cs
Source:
TokenExtensions.cs
Source:
TokenExtensions.cs

返回属性中包含的所有 AuthenticationToken 实例。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authentication::AuthenticationToken ^> ^ GetTokens(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public static System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authentication.AuthenticationToken> GetTokens (this Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
static member GetTokens : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> seq<Microsoft.AspNetCore.Authentication.AuthenticationToken>
<Extension()>
Public Function GetTokens (properties As AuthenticationProperties) As IEnumerable(Of AuthenticationToken)

参数

返回

身份验证令牌。

适用于

GetTokens(AuthenticationProperties)

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authentication::AuthenticationToken ^> ^ GetTokens(Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
public static System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authentication.AuthenticationToken> GetTokens (this Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
static member GetTokens : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> seq<Microsoft.AspNetCore.Authentication.AuthenticationToken>
<Extension()>
Public Function GetTokens (properties As AuthenticationProperties) As IEnumerable(Of AuthenticationToken)

参数

返回

适用于