AuthenticationTokenExtensions.GetTokens 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- properties
- AuthenticationProperties
返回
身份验证令牌。
适用于
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)
参数
- properties
- AuthenticationProperties