Delen via


AuthenticationTokenExtensions.GetTokens Method

Definition

Overloads

GetTokens(AuthenticationProperties)

Returns all of the AuthenticationToken instances contained in the properties.

GetTokens(AuthenticationProperties)

GetTokens(AuthenticationProperties)

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

Returns all of the AuthenticationToken instances contained in the properties.

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)

Parameters

Returns

The authentication tokens.

Applies to

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)

Parameters

Returns

Applies to