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


AuthenticationTokenExtensions.GetTokens Метод

Определение

Перегрузки

GetTokens(AuthenticationProperties)

Возвращает все экземпляры, AuthenticationToken содержащиеся в свойствах .

GetTokens(AuthenticationProperties)

GetTokens(AuthenticationProperties)

Исходный код:
TokenExtensions.cs
Исходный код:
TokenExtensions.cs
Исходный код:
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

Свойства 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)

Параметры

Возвращаемое значение

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