Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the Apple class.
 /// </summary>
 /// <param name="enabled">&lt;code&gt;false&lt;/code&gt; if the Apple
 /// provider should not be enabled despite the set registration;
 /// otherwise, &lt;code&gt;true&lt;/code&gt;.</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();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the GitHub class.
 /// </summary>
 /// <param name="enabled">&lt;code&gt;false&lt;/code&gt; if the GitHub
 /// provider should not be enabled despite the set registration;
 /// otherwise, &lt;code&gt;true&lt;/code&gt;.</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();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the Facebook class.
 /// </summary>
 /// <param name="enabled">&lt;code&gt;false&lt;/code&gt; if the
 /// Facebook provider should not be enabled despite the set
 /// registration; otherwise, &lt;code&gt;true&lt;/code&gt;.</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();
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the Google class.
 /// </summary>
 /// <param name="enabled">&lt;code&gt;false&lt;/code&gt; if the Google
 /// provider should not be enabled despite the set registration;
 /// otherwise, &lt;code&gt;true&lt;/code&gt;.</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();
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the GitHub class.
 /// </summary>
 /// <param name="id">Resource Id.</param>
 /// <param name="name">Resource Name.</param>
 /// <param name="kind">Kind of resource.</param>
 /// <param name="type">Resource type.</param>
 public GitHub(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool?enabled = default(bool?), ClientRegistration registration = default(ClientRegistration), LoginScopes login = default(LoginScopes))
     : base(id, name, kind, type)
 {
     Enabled      = enabled;
     Registration = registration;
     Login        = login;
     CustomInit();
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the Facebook class.
 /// </summary>
 /// <param name="id">Resource Id.</param>
 /// <param name="name">Resource Name.</param>
 /// <param name="kind">Kind of resource.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="enabled">&lt;code&gt;false&lt;/code&gt; if the
 /// Facebook provider should not be enabled despite the set
 /// registration; otherwise, &lt;code&gt;true&lt;/code&gt;.</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(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool?enabled = default(bool?), AppRegistration registration = default(AppRegistration), string graphApiVersion = default(string), LoginScopes login = default(LoginScopes))
     : base(id, name, kind, type)
 {
     Enabled         = enabled;
     Registration    = registration;
     GraphApiVersion = graphApiVersion;
     Login           = login;
     CustomInit();
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the Google class.
 /// </summary>
 /// <param name="id">Resource Id.</param>
 /// <param name="name">Resource Name.</param>
 /// <param name="kind">Kind of resource.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="enabled">&lt;code&gt;false&lt;/code&gt; if the Google
 /// provider should not be enabled despite the set registration;
 /// otherwise, &lt;code&gt;true&lt;/code&gt;.</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(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool?enabled = default(bool?), ClientRegistration registration = default(ClientRegistration), LoginScopes login = default(LoginScopes), AllowedAudiencesValidation validation = default(AllowedAudiencesValidation))
     : base(id, name, kind, type)
 {
     Enabled      = enabled;
     Registration = registration;
     Login        = login;
     Validation   = validation;
     CustomInit();
 }