Table of Contents

Class BaseOAuthLoginProvider

Namespace
Dynamicweb.ExternalAuthentication
Assembly
Dynamicweb.ExternalAuthentication.dll

Represents a base class for implementing external login providers

public abstract class BaseOAuthLoginProvider : ExternalLoginProvider
Inheritance
BaseOAuthLoginProvider
Derived
Inherited Members

Properties

CallbackPath

Callback path.

protected string CallbackPath { get; }

Property Value

string

ErrorPage

Sets the page to show authentication error. Use it when the authentication provider is used in the frontend.

public virtual string? ErrorPage { get; set; }

Property Value

string

Methods

OnRemoteFailure(RemoteFailureContext)

protected Task OnRemoteFailure(RemoteFailureContext context)

Parameters

context RemoteFailureContext

Returns

Task

RegisterProvider(AuthenticationBuilder)

Registers provider in services Should be implemented if provider doesn't have IUpdateOpenIdConnectOptions or IUpdateOAuthOptions interface

public virtual void RegisterProvider(AuthenticationBuilder builder)

Parameters

builder AuthenticationBuilder
To top