AuthenticationTokenExtensions.GetTokens Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- properties
- AuthenticationProperties
The AuthenticationProperties properties.
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
- properties
- AuthenticationProperties