次の方法で共有


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

戻り値

適用対象