Class IdentityProviderUpdateParameters
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.IdentityProviderUpdateParameters
-
public final class IdentityProviderUpdateParameters extends Object
Parameters supplied to update Identity Provider.
-
-
Constructor Summary
Constructors Constructor Description IdentityProviderUpdateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
allowedTenants()
Get the allowedTenants property: List of Allowed Tenants when configuring Azure Active Directory login.String
authority()
Get the authority property: OpenID Connect discovery endpoint hostname for AAD or AAD B2C.String
clientId()
Get the clientId property: Client Id of the Application in the external Identity Provider.String
clientSecret()
Get the clientSecret property: Client secret of the Application in external Identity Provider, used to authenticate login request.String
passwordResetPolicyName()
Get the passwordResetPolicyName property: Password Reset Policy Name.String
profileEditingPolicyName()
Get the profileEditingPolicyName property: Profile Editing Policy Name.String
signinPolicyName()
Get the signinPolicyName property: Signin Policy Name.String
signinTenant()
Get the signinTenant property: The TenantId to use instead of Common when logging into Active Directory.String
signupPolicyName()
Get the signupPolicyName property: Signup Policy Name.IdentityProviderType
type()
Get the type property: Identity Provider Type identifier.void
validate()
Validates the instance.IdentityProviderUpdateParameters
withAllowedTenants(List<String> allowedTenants)
Set the allowedTenants property: List of Allowed Tenants when configuring Azure Active Directory login.IdentityProviderUpdateParameters
withAuthority(String authority)
Set the authority property: OpenID Connect discovery endpoint hostname for AAD or AAD B2C.IdentityProviderUpdateParameters
withClientId(String clientId)
Set the clientId property: Client Id of the Application in the external Identity Provider.IdentityProviderUpdateParameters
withClientSecret(String clientSecret)
Set the clientSecret property: Client secret of the Application in external Identity Provider, used to authenticate login request.IdentityProviderUpdateParameters
withPasswordResetPolicyName(String passwordResetPolicyName)
Set the passwordResetPolicyName property: Password Reset Policy Name.IdentityProviderUpdateParameters
withProfileEditingPolicyName(String profileEditingPolicyName)
Set the profileEditingPolicyName property: Profile Editing Policy Name.IdentityProviderUpdateParameters
withSigninPolicyName(String signinPolicyName)
Set the signinPolicyName property: Signin Policy Name.IdentityProviderUpdateParameters
withSigninTenant(String signinTenant)
Set the signinTenant property: The TenantId to use instead of Common when logging into Active Directory.IdentityProviderUpdateParameters
withSignupPolicyName(String signupPolicyName)
Set the signupPolicyName property: Signup Policy Name.IdentityProviderUpdateParameters
withType(IdentityProviderType type)
Set the type property: Identity Provider Type identifier.
-
-
-
Method Detail
-
clientId
public String 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
public IdentityProviderUpdateParameters withClientId(String clientId)
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 IdentityProviderUpdateParameters object itself.
-
clientSecret
public String 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
public IdentityProviderUpdateParameters withClientSecret(String clientSecret)
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 IdentityProviderUpdateParameters object itself.
-
type
public IdentityProviderType type()
Get the type property: Identity Provider Type identifier.- Returns:
- the type value.
-
withType
public IdentityProviderUpdateParameters withType(IdentityProviderType type)
Set the type property: Identity Provider Type identifier.- Parameters:
type
- the type value to set.- Returns:
- the IdentityProviderUpdateParameters object itself.
-
signinTenant
public String signinTenant()
Get the signinTenant property: The TenantId to use instead of Common when logging into Active Directory.- Returns:
- the signinTenant value.
-
withSigninTenant
public IdentityProviderUpdateParameters withSigninTenant(String signinTenant)
Set the signinTenant property: The TenantId to use instead of Common when logging into Active Directory.- Parameters:
signinTenant
- the signinTenant value to set.- Returns:
- the IdentityProviderUpdateParameters object itself.
-
allowedTenants
public List<String> allowedTenants()
Get the allowedTenants property: List of Allowed Tenants when configuring Azure Active Directory login.- Returns:
- the allowedTenants value.
-
withAllowedTenants
public IdentityProviderUpdateParameters withAllowedTenants(List<String> allowedTenants)
Set the allowedTenants property: List of Allowed Tenants when configuring Azure Active Directory login.- Parameters:
allowedTenants
- the allowedTenants value to set.- Returns:
- the IdentityProviderUpdateParameters object itself.
-
authority
public String authority()
Get the authority property: OpenID Connect discovery endpoint hostname for AAD or AAD B2C.- Returns:
- the authority value.
-
withAuthority
public IdentityProviderUpdateParameters withAuthority(String authority)
Set the authority property: OpenID Connect discovery endpoint hostname for AAD or AAD B2C.- Parameters:
authority
- the authority value to set.- Returns:
- the IdentityProviderUpdateParameters object itself.
-
signupPolicyName
public String signupPolicyName()
Get the signupPolicyName property: Signup Policy Name. Only applies to AAD B2C Identity Provider.- Returns:
- the signupPolicyName value.
-
withSignupPolicyName
public IdentityProviderUpdateParameters withSignupPolicyName(String signupPolicyName)
Set the signupPolicyName property: Signup Policy Name. Only applies to AAD B2C Identity Provider.- Parameters:
signupPolicyName
- the signupPolicyName value to set.- Returns:
- the IdentityProviderUpdateParameters object itself.
-
signinPolicyName
public String signinPolicyName()
Get the signinPolicyName property: Signin Policy Name. Only applies to AAD B2C Identity Provider.- Returns:
- the signinPolicyName value.
-
withSigninPolicyName
public IdentityProviderUpdateParameters withSigninPolicyName(String signinPolicyName)
Set the signinPolicyName property: Signin Policy Name. Only applies to AAD B2C Identity Provider.- Parameters:
signinPolicyName
- the signinPolicyName value to set.- Returns:
- the IdentityProviderUpdateParameters object itself.
-
profileEditingPolicyName
public String profileEditingPolicyName()
Get the profileEditingPolicyName property: Profile Editing Policy Name. Only applies to AAD B2C Identity Provider.- Returns:
- the profileEditingPolicyName value.
-
withProfileEditingPolicyName
public IdentityProviderUpdateParameters withProfileEditingPolicyName(String profileEditingPolicyName)
Set the profileEditingPolicyName property: Profile Editing Policy Name. Only applies to AAD B2C Identity Provider.- Parameters:
profileEditingPolicyName
- the profileEditingPolicyName value to set.- Returns:
- the IdentityProviderUpdateParameters object itself.
-
passwordResetPolicyName
public String passwordResetPolicyName()
Get the passwordResetPolicyName property: Password Reset Policy Name. Only applies to AAD B2C Identity Provider.- Returns:
- the passwordResetPolicyName value.
-
withPasswordResetPolicyName
public IdentityProviderUpdateParameters withPasswordResetPolicyName(String passwordResetPolicyName)
Set the passwordResetPolicyName property: Password Reset Policy Name. Only applies to AAD B2C Identity Provider.- Parameters:
passwordResetPolicyName
- the passwordResetPolicyName value to set.- Returns:
- the IdentityProviderUpdateParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-