Compartilhar via


AuthenticationSchemeProvider.GetSchemeAsync(String) Método

Definição

Retorna o AuthenticationScheme que corresponde ao nome ou nulo.

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticationScheme ^> ^ GetSchemeAsync(System::String ^ name);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme> GetSchemeAsync (string name);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme?> GetSchemeAsync (string name);
abstract member GetSchemeAsync : string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme>
override this.GetSchemeAsync : string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme>
Public Overridable 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.

Implementações

Aplica-se a