Share via


UserManager<TUser>.RemoveAuthenticationTokenAsync Método

Definição

Remova um token de autenticação para um usuário.

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::IdentityResult ^> ^ RemoveAuthenticationTokenAsync(TUser user, System::String ^ loginProvider, System::String ^ tokenName);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> RemoveAuthenticationTokenAsync (TUser user, string loginProvider, string tokenName);
abstract member RemoveAuthenticationTokenAsync : 'User * string * string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
override this.RemoveAuthenticationTokenAsync : 'User * string * string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
Public Overridable Function RemoveAuthenticationTokenAsync (user As TUser, loginProvider As String, tokenName As String) As Task(Of IdentityResult)

Parâmetros

user
TUser
loginProvider
String

O esquema de autenticação para o provedor ao qual o token está associado.

tokenName
String

O nome do token.

Retornos

Se um token foi removido.

Aplica-se a