Class GitHubLoginProvider
- Namespace
- Dynamicweb.ExternalAuthentication
- Assembly
- Dynamicweb.ExternalAuthentication.dll
Github login provider
[AddInName("GitHub")]
[AddInDescription("GitHub login provider")]
public sealed class GitHubLoginProvider : BaseOAuthLoginProvider, IUpdateOAuthOptions
- Inheritance
-
GitHubLoginProvider
- Implements
- Inherited Members
Properties
ClientId
[AddInParameterGroup("External credentials")]
[AddInLabel("Client id")]
[AddInParameter("ClientId")]
[AddInParameterEditor(typeof(TextParameterEditor), "required")]
public string? ClientId { get; set; }
Property Value
ClientSecret
[AddInParameterGroup("External credentials")]
[AddInLabel("Client secret")]
[AddInParameter("ClientSecret")]
[AddInParameterEditor(typeof(TextParameterEditor), "")]
public string? ClientSecret { get; set; }
Property Value
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
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-github")]
public override string ProviderScheme { get; set; }