Class AzureActiveDirectoryRegistration
java.lang.Object
com.azure.resourcemanager.appservice.models.AzureActiveDirectoryRegistration
The configuration settings of the Azure Active Directory app registration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclientId()
Get the clientId property: The Client ID of this relying party application, known as the client_id.Get the clientSecretCertificateIssuer property: An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes.Get the clientSecretCertificateSubjectAlternativeName property: An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes.Get the clientSecretCertificateThumbprint property: An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes.Get the clientSecretSettingName property: The app setting name that contains the client secret of the relying party application.Get the openIdIssuer property: The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.void
validate()
Validates the instance.withClientId
(String clientId) Set the clientId property: The Client ID of this relying party application, known as the client_id.withClientSecretCertificateIssuer
(String clientSecretCertificateIssuer) Set the clientSecretCertificateIssuer property: An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes.withClientSecretCertificateSubjectAlternativeName
(String clientSecretCertificateSubjectAlternativeName) Set the clientSecretCertificateSubjectAlternativeName property: An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes.withClientSecretCertificateThumbprint
(String clientSecretCertificateThumbprint) Set the clientSecretCertificateThumbprint property: An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes.withClientSecretSettingName
(String clientSecretSettingName) Set the clientSecretSettingName property: The app setting name that contains the client secret of the relying party application.withOpenIdIssuer
(String openIdIssuer) Set the openIdIssuer property: The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.
-
Constructor Details
-
AzureActiveDirectoryRegistration
public AzureActiveDirectoryRegistration()
-
-
Method Details
-
openIdIssuer
Get the openIdIssuer property: The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html.- Returns:
- the openIdIssuer value.
-
withOpenIdIssuer
Set the openIdIssuer property: The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html.- Parameters:
openIdIssuer
- the openIdIssuer value to set.- Returns:
- the AzureActiveDirectoryRegistration object itself.
-
clientId
Get the clientId property: The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html.- Returns:
- the clientId value.
-
withClientId
Set the clientId property: The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html.- Parameters:
clientId
- the clientId value to set.- Returns:
- the AzureActiveDirectoryRegistration object itself.
-
clientSecretSettingName
Get the clientSecretSettingName property: The app setting name that contains the client secret of the relying party application.- Returns:
- the clientSecretSettingName value.
-
withClientSecretSettingName
Set the clientSecretSettingName property: The app setting name that contains the client secret of the relying party application.- Parameters:
clientSecretSettingName
- the clientSecretSettingName value to set.- Returns:
- the AzureActiveDirectoryRegistration object itself.
-
clientSecretCertificateThumbprint
Get the clientSecretCertificateThumbprint property: An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.- Returns:
- the clientSecretCertificateThumbprint value.
-
withClientSecretCertificateThumbprint
public AzureActiveDirectoryRegistration withClientSecretCertificateThumbprint(String clientSecretCertificateThumbprint) Set the clientSecretCertificateThumbprint property: An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.- Parameters:
clientSecretCertificateThumbprint
- the clientSecretCertificateThumbprint value to set.- Returns:
- the AzureActiveDirectoryRegistration object itself.
-
clientSecretCertificateSubjectAlternativeName
Get the clientSecretCertificateSubjectAlternativeName property: An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes. This property acts as a replacement for the Client Secret Certificate Thumbprint. It is also optional.- Returns:
- the clientSecretCertificateSubjectAlternativeName value.
-
withClientSecretCertificateSubjectAlternativeName
public AzureActiveDirectoryRegistration withClientSecretCertificateSubjectAlternativeName(String clientSecretCertificateSubjectAlternativeName) Set the clientSecretCertificateSubjectAlternativeName property: An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes. This property acts as a replacement for the Client Secret Certificate Thumbprint. It is also optional.- Parameters:
clientSecretCertificateSubjectAlternativeName
- the clientSecretCertificateSubjectAlternativeName value to set.- Returns:
- the AzureActiveDirectoryRegistration object itself.
-
clientSecretCertificateIssuer
Get the clientSecretCertificateIssuer property: An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as a replacement for the Client Secret Certificate Thumbprint. It is also optional.- Returns:
- the clientSecretCertificateIssuer value.
-
withClientSecretCertificateIssuer
public AzureActiveDirectoryRegistration withClientSecretCertificateIssuer(String clientSecretCertificateIssuer) Set the clientSecretCertificateIssuer property: An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as a replacement for the Client Secret Certificate Thumbprint. It is also optional.- Parameters:
clientSecretCertificateIssuer
- the clientSecretCertificateIssuer value to set.- Returns:
- the AzureActiveDirectoryRegistration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-