Compartir a través de


IAuthenticationSchemeProvider.TryAddScheme(AuthenticationScheme) Método

Definición

Registra un esquema para que lo use IAuthenticationService.

public:
 virtual bool TryAddScheme(Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme);
public virtual bool TryAddScheme (Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme);
abstract member TryAddScheme : Microsoft.AspNetCore.Authentication.AuthenticationScheme -> bool
override this.TryAddScheme : Microsoft.AspNetCore.Authentication.AuthenticationScheme -> bool
Public Overridable Function TryAddScheme (scheme As AuthenticationScheme) As Boolean

Parámetros

scheme
AuthenticationScheme

Esquema.

Devoluciones

True si el esquema se agregó correctamente.

Se aplica a