AuthenticationTokenExtensions.UpdateTokenValue 메서드

정의

오버로드

UpdateTokenValue(AuthenticationProperties, String, String)

이미 있는 경우 토큰 값을 업데이트.

UpdateTokenValue(AuthenticationProperties, String, String)

UpdateTokenValue(AuthenticationProperties, String, String)

이미 있는 경우 토큰 값을 업데이트.

public:
[System::Runtime::CompilerServices::Extension]
 static bool UpdateTokenValue(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, System::String ^ tokenName, System::String ^ tokenValue);
public static bool UpdateTokenValue (this Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string tokenName, string tokenValue);
static member UpdateTokenValue : Microsoft.AspNetCore.Authentication.AuthenticationProperties * string * string -> bool
<Extension()>
Public Function UpdateTokenValue (properties As AuthenticationProperties, tokenName As String, tokenValue As String) As Boolean

매개 변수

properties
AuthenticationProperties

업데이트할 AuthenticationProperties입니다.

tokenName
String

토큰 이름입니다.

tokenValue
String

토큰 값입니다.

반환

true 토큰이 업데이트되었으면 이고, 그렇지 않으면 false입니다.

적용 대상

UpdateTokenValue(AuthenticationProperties, String, String)

public:
[System::Runtime::CompilerServices::Extension]
 static bool UpdateTokenValue(Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties, System::String ^ tokenName, System::String ^ tokenValue);
public static bool UpdateTokenValue (this Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, string tokenName, string tokenValue);
static member UpdateTokenValue : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * string * string -> bool
<Extension()>
Public Function UpdateTokenValue (properties As AuthenticationProperties, tokenName As String, tokenValue As String) As Boolean

매개 변수

tokenName
String
tokenValue
String

반환

적용 대상