Aracılığıyla paylaş


AuthenticationTokenExtensions.GetTokenValue Yöntem

Tanım

Aşırı Yüklemeler

GetTokenValue(AuthenticationProperties, String)

Belirtecin değerini döndürür.

GetTokenValue(AuthenticationProperties, String)

GetTokenValue(AuthenticationProperties, String)

Kaynak:
TokenExtensions.cs
Kaynak:
TokenExtensions.cs
Kaynak:
TokenExtensions.cs

Belirtecin değerini döndürür.

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

Parametreler

tokenName
String

Belirteç adı.

Döndürülenler

Belirteç değeri.

Şunlara uygulanır

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

Parametreler

tokenName
String

Döndürülenler

Şunlara uygulanır