Table of Contents

Class GoogleLoginProvider

Namespace
Dynamicweb.ExternalAuthentication
Assembly
Dynamicweb.ExternalAuthentication.dll

Google external login provider

[AddInName("Google")]
[AddInDescription("Google login provider")]
public sealed class GoogleLoginProvider : BaseOAuthLoginProvider, IUpdateOpenIdConnectOptions
Inheritance
GoogleLoginProvider
Implements
Inherited Members

Properties

ClientId

[AddInParameterGroup("External credentials")]
[AddInLabel("Client id")]
[AddInParameter("ClientId")]
[AddInParameterEditor(typeof(TextParameterEditor), "required")]
public string? ClientId { get; set; }

Property Value

string

ClientSecret

[AddInParameterGroup("External credentials")]
[AddInLabel("Client secret")]
[AddInParameter("ClientSecret")]
[AddInParameterEditor(typeof(TextParameterEditor), "")]
public string? ClientSecret { get; set; }

Property Value

string

ErrorPage

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

[AddInParameterGroup("Frontend")]
[AddInLabel("Authentication error page")]
[AddInParameter("ErrorPage")]
[AddInParameterEditor(typeof(PageSelectEditor), "")]
public override string? ErrorPage { get; set; }

Property Value

string

ProviderScheme

The name of the provider authentication scheme.

[AddInParameterGroup("External credentials")]
[AddInLabel("Provider scheme")]
[AddInParameter("ProviderScheme")]
[AddInParameterEditor(typeof(TextParameterEditor), "required;info=Note, the redirect Uri parameter of identity provider must be set as /signin-{provider-scheme}, e.g. /signin-google")]
public override string ProviderScheme { get; set; }

Property Value

string
To top