Share via


AuthenticationSchemeProvider.AddScheme(AuthenticationScheme) Method

Definition

Registers a scheme for use by IAuthenticationService.

public:
 virtual void AddScheme(Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme);
public virtual void AddScheme (Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme);
abstract member AddScheme : Microsoft.AspNetCore.Authentication.AuthenticationScheme -> unit
override this.AddScheme : Microsoft.AspNetCore.Authentication.AuthenticationScheme -> unit
Public Overridable Sub AddScheme (scheme As AuthenticationScheme)

Parameters

scheme
AuthenticationScheme

The scheme.

Implements

Applies to