AuthenticationTokenExtensions.UpdateTokenValue 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| UpdateTokenValue(AuthenticationProperties, String, String) | 汇报令牌的值(如果已存在)。 | 
| UpdateTokenValue(AuthenticationProperties, String, String) | 
UpdateTokenValue(AuthenticationProperties, String, String)
- Source:
- TokenExtensions.cs
- Source:
- TokenExtensions.cs
- Source:
- TokenExtensions.cs
汇报令牌的值(如果已存在)。
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参数
- properties
- AuthenticationProperties
- tokenName
- String
- tokenValue
- String