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
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
Methods
OnRemoteFailure(RemoteFailureContext)
protected Task OnRemoteFailure(RemoteFailureContext context)
Parameters
contextRemoteFailureContext
Returns
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
builderAuthenticationBuilder