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


AuthenticationTokenExtensions.GetTokenValue Метод

Определение

Перегрузки

GetTokenValue(AuthenticationProperties, String)

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

GetTokenValue(AuthenticationProperties, String)

GetTokenValue(AuthenticationProperties, String)

Исходный код:
TokenExtensions.cs
Исходный код:
TokenExtensions.cs
Исходный код:
TokenExtensions.cs

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ GetTokenValue(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, System::String ^ tokenName);
public static string GetTokenValue (this Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string tokenName);
public static string? GetTokenValue (this Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string tokenName);
static member GetTokenValue : Microsoft.AspNetCore.Authentication.AuthenticationProperties * string -> string
<Extension()>
Public Function GetTokenValue (properties As AuthenticationProperties, tokenName As String) As String

Параметры

properties
AuthenticationProperties

Свойства AuthenticationProperties .

tokenName
String

Имя токена.

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

Значение токена.

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

GetTokenValue(AuthenticationProperties, String)

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ GetTokenValue(Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties, System::String ^ tokenName);
public static string GetTokenValue (this Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, string tokenName);
static member GetTokenValue : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * string -> string
<Extension()>
Public Function GetTokenValue (properties As AuthenticationProperties, tokenName As String) As String

Параметры

tokenName
String

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

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