AuthenticationTokenExtensions.GetTokenValue Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
GetTokenValue(AuthenticationProperties, String) |
Mengembalikan nilai token. |
GetTokenValue(AuthenticationProperties, String) |
GetTokenValue(AuthenticationProperties, String)
- Sumber:
- TokenExtensions.cs
- Sumber:
- TokenExtensions.cs
- Sumber:
- TokenExtensions.cs
Mengembalikan nilai token.
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
Properti .AuthenticationProperties
- tokenName
- String
Nama token.
Mengembalikan
Nilai token.
Berlaku untuk
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
- properties
- AuthenticationProperties
- tokenName
- String