AuthenticationTokenExtensions.GetTokenValue 메서드

정의

오버로드

GetTokenValue(AuthenticationProperties, String)

토큰의 값을 반환합니다.

GetTokenValue(AuthenticationProperties, String)

GetTokenValue(AuthenticationProperties, String)

토큰의 값을 반환합니다.

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

반환

적용 대상