Partilhar via


IAuthenticationSchemeProvider.GetSchemeAsync(String) Método

Definição

Retorna o AuthenticationScheme que corresponde ao nome ou nulo.

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticationScheme ^> ^ GetSchemeAsync(System::String ^ name);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme> GetSchemeAsync (string name);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme?> GetSchemeAsync (string name);
abstract member GetSchemeAsync : string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme>
Public Function GetSchemeAsync (name As String) As Task(Of AuthenticationScheme)

Parâmetros

name
String

O nome do authenticationScheme.

Retornos

O esquema ou nulo se não for encontrado.

Aplica-se a