/// <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(); }
/// <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"><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(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(); }