Class IdentityProviderUpdateProperties
java.lang.Object
com.azure.resourcemanager.apimanagement.models.IdentityProviderBaseParameters
com.azure.resourcemanager.apimanagement.fluent.models.IdentityProviderUpdateProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<IdentityProviderBaseParameters>
Parameters supplied to the Update Identity Provider operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of IdentityProviderUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionclientId()Get the clientId property: Client Id of the Application in the external Identity Provider.Get the clientSecret property: Client secret of the Application in external Identity Provider, used to authenticate login request.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of IdentityProviderUpdateProperties from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAllowedTenants(List<String> allowedTenants) Set the allowedTenants property: List of Allowed Tenants when configuring Azure Active Directory login.withAuthority(String authority) Set the authority property: OpenID Connect discovery endpoint hostname for AAD or AAD B2C.withClientId(String clientId) Set the clientId property: Client Id of the Application in the external Identity Provider.withClientLibrary(String clientLibrary) Set the clientLibrary property: The client library to be used in the developer portal.withClientSecret(String clientSecret) Set the clientSecret property: Client secret of the Application in external Identity Provider, used to authenticate login request.withPasswordResetPolicyName(String passwordResetPolicyName) Set the passwordResetPolicyName property: Password Reset Policy Name.withProfileEditingPolicyName(String profileEditingPolicyName) Set the profileEditingPolicyName property: Profile Editing Policy Name.withSigninPolicyName(String signinPolicyName) Set the signinPolicyName property: Signin Policy Name.withSigninTenant(String signinTenant) Set the signinTenant property: The TenantId to use instead of Common when logging into Active Directory.withSignupPolicyName(String signupPolicyName) Set the signupPolicyName property: Signup Policy Name.withType(IdentityProviderType type) Set the type property: Identity Provider Type identifier.Methods inherited from class com.azure.resourcemanager.apimanagement.models.IdentityProviderBaseParameters
allowedTenants, authority, clientLibrary, passwordResetPolicyName, profileEditingPolicyName, signinPolicyName, signinTenant, signupPolicyName, typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
IdentityProviderUpdateProperties
public IdentityProviderUpdateProperties()Creates an instance of IdentityProviderUpdateProperties class.
-
-
Method Details
-
clientId
Get the clientId property: Client Id of the Application in the external Identity Provider. It is App ID for Facebook login, Client ID for Google login, App ID for Microsoft.- Returns:
- the clientId value.
-
withClientId
Set the clientId property: Client Id of the Application in the external Identity Provider. It is App ID for Facebook login, Client ID for Google login, App ID for Microsoft.- Parameters:
clientId- the clientId value to set.- Returns:
- the IdentityProviderUpdateProperties object itself.
-
clientSecret
Get the clientSecret property: Client secret of the Application in external Identity Provider, used to authenticate login request. For example, it is App Secret for Facebook login, API Key for Google login, Public Key for Microsoft.- Returns:
- the clientSecret value.
-
withClientSecret
Set the clientSecret property: Client secret of the Application in external Identity Provider, used to authenticate login request. For example, it is App Secret for Facebook login, API Key for Google login, Public Key for Microsoft.- Parameters:
clientSecret- the clientSecret value to set.- Returns:
- the IdentityProviderUpdateProperties object itself.
-
withType
Set the type property: Identity Provider Type identifier.- Overrides:
withTypein classIdentityProviderBaseParameters- Parameters:
type- the type value to set.- Returns:
- the IdentityProviderBaseParameters object itself.
-
withSigninTenant
Set the signinTenant property: The TenantId to use instead of Common when logging into Active Directory.- Overrides:
withSigninTenantin classIdentityProviderBaseParameters- Parameters:
signinTenant- the signinTenant value to set.- Returns:
- the IdentityProviderBaseParameters object itself.
-
withAllowedTenants
Set the allowedTenants property: List of Allowed Tenants when configuring Azure Active Directory login.- Overrides:
withAllowedTenantsin classIdentityProviderBaseParameters- Parameters:
allowedTenants- the allowedTenants value to set.- Returns:
- the IdentityProviderBaseParameters object itself.
-
withAuthority
Set the authority property: OpenID Connect discovery endpoint hostname for AAD or AAD B2C.- Overrides:
withAuthorityin classIdentityProviderBaseParameters- Parameters:
authority- the authority value to set.- Returns:
- the IdentityProviderBaseParameters object itself.
-
withSignupPolicyName
Set the signupPolicyName property: Signup Policy Name. Only applies to AAD B2C Identity Provider.- Overrides:
withSignupPolicyNamein classIdentityProviderBaseParameters- Parameters:
signupPolicyName- the signupPolicyName value to set.- Returns:
- the IdentityProviderBaseParameters object itself.
-
withSigninPolicyName
Set the signinPolicyName property: Signin Policy Name. Only applies to AAD B2C Identity Provider.- Overrides:
withSigninPolicyNamein classIdentityProviderBaseParameters- Parameters:
signinPolicyName- the signinPolicyName value to set.- Returns:
- the IdentityProviderBaseParameters object itself.
-
withProfileEditingPolicyName
public IdentityProviderUpdateProperties withProfileEditingPolicyName(String profileEditingPolicyName) Set the profileEditingPolicyName property: Profile Editing Policy Name. Only applies to AAD B2C Identity Provider.- Overrides:
withProfileEditingPolicyNamein classIdentityProviderBaseParameters- Parameters:
profileEditingPolicyName- the profileEditingPolicyName value to set.- Returns:
- the IdentityProviderBaseParameters object itself.
-
withPasswordResetPolicyName
Set the passwordResetPolicyName property: Password Reset Policy Name. Only applies to AAD B2C Identity Provider.- Overrides:
withPasswordResetPolicyNamein classIdentityProviderBaseParameters- Parameters:
passwordResetPolicyName- the passwordResetPolicyName value to set.- Returns:
- the IdentityProviderBaseParameters object itself.
-
withClientLibrary
Set the clientLibrary property: The client library to be used in the developer portal. Only applies to AAD and AAD B2C Identity Provider.- Overrides:
withClientLibraryin classIdentityProviderBaseParameters- Parameters:
clientLibrary- the clientLibrary value to set.- Returns:
- the IdentityProviderBaseParameters object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classIdentityProviderBaseParameters- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<IdentityProviderBaseParameters>- Overrides:
toJsonin classIdentityProviderBaseParameters- Throws:
IOException
-
fromJson
public static IdentityProviderUpdateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of IdentityProviderUpdateProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of IdentityProviderUpdateProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the IdentityProviderUpdateProperties.
-