Freigeben über


AuthenticationTokenExtensions.GetTokenValue Methode

Definition

Überlädt

GetTokenValue(AuthenticationProperties, String)

Gibt den Wert eines Tokens zurück.

GetTokenValue(AuthenticationProperties, String)

GetTokenValue(AuthenticationProperties, String)

Quelle:
TokenExtensions.cs
Quelle:
TokenExtensions.cs
Quelle:
TokenExtensions.cs

Gibt den Wert eines Tokens zurück.

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

Parameter

properties
AuthenticationProperties

Die AuthenticationProperties Eigenschaften.

tokenName
String

Der Tokenname.

Gibt zurück

Der Tokenwert.

Gilt fü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

Parameter

tokenName
String

Gibt zurück

Gilt für: