/// <summary> /// Initializes a new instance of the GitHub class. /// </summary> /// <param name="enabled"><code>false</code> if the GitHub /// provider should not be enabled despite the set registration; /// otherwise, <code>true</code>.</param> /// <param name="registration">The configuration settings of the app /// registration for the GitHub provider.</param> /// <param name="login">The configuration settings of the login /// flow.</param> public GitHub(bool?enabled = default(bool?), ClientRegistration registration = default(ClientRegistration), LoginScopes login = default(LoginScopes)) { Enabled = enabled; Registration = registration; Login = login; CustomInit(); }
/// <summary> /// Initializes a new instance of the Apple class. /// </summary> /// <param name="enabled"><code>false</code> if the Apple /// provider should not be enabled despite the set registration; /// otherwise, <code>true</code>.</param> /// <param name="registration">The configuration settings of the Apple /// registration.</param> /// <param name="login">The configuration settings of the login /// flow.</param> public Apple(bool?enabled = default(bool?), AppleRegistration registration = default(AppleRegistration), LoginScopes login = default(LoginScopes)) { Enabled = enabled; Registration = registration; Login = login; CustomInit(); }
/// <summary> /// Initializes a new instance of the Facebook class. /// </summary> /// <param name="enabled"><code>false</code> if the /// Facebook provider should not be enabled despite the set /// registration; otherwise, <code>true</code>.</param> /// <param name="registration">The configuration settings of the app /// registration for the Facebook provider.</param> /// <param name="graphApiVersion">The version of the Facebook api to be /// used while logging in.</param> /// <param name="login">The configuration settings of the login /// flow.</param> public Facebook(bool?enabled = default(bool?), AppRegistration registration = default(AppRegistration), string graphApiVersion = default(string), LoginScopes login = default(LoginScopes)) { Enabled = enabled; Registration = registration; GraphApiVersion = graphApiVersion; Login = login; CustomInit(); }
/// <summary> /// Initializes a new instance of the Google class. /// </summary> /// <param name="enabled"><code>false</code> if the Google /// provider should not be enabled despite the set registration; /// otherwise, <code>true</code>.</param> /// <param name="registration">The configuration settings of the app /// registration for the Google provider.</param> /// <param name="login">The configuration settings of the login /// flow.</param> /// <param name="validation">The configuration settings of the Azure /// Active Directory token validation flow.</param> public Google(bool?enabled = default(bool?), ClientRegistration registration = default(ClientRegistration), LoginScopes login = default(LoginScopes), AllowedAudiencesValidation validation = default(AllowedAudiencesValidation)) { Enabled = enabled; Registration = registration; Login = login; Validation = validation; CustomInit(); }