Пример #1
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();
 }
Пример #2
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();
 }