AzureActiveDirectoryRegistration Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. AzureActiveDirectoryRegistration
- com.
Implements
public final class AzureActiveDirectoryRegistration
implements JsonSerializable<AzureActiveDirectoryRegistration>
The configuration settings of the Azure Active Directory app registration.
Constructor Summary
Constructor | Description |
---|---|
AzureActiveDirectoryRegistration() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
clientId()
Get the client |
String |
clientSecretCertificateIssuer()
Get the client |
String |
clientSecretCertificateSubjectAlternativeName()
Get the client |
String |
clientSecretCertificateThumbprint()
Get the client |
String |
clientSecretSettingName()
Get the client |
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
String |
openIdIssuer()
Get the open |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Azure |
withClientId(String clientId)
Set the client |
Azure |
withClientSecretCertificateIssuer(String clientSecretCertificateIssuer)
Set the client |
Azure |
withClientSecretCertificateSubjectAlternativeName(String clientSecretCertificateSubjectAlternativeName)
Set the client |
Azure |
withClientSecretCertificateThumbprint(String clientSecretCertificateThumbprint)
Set the client |
Azure |
withClientSecretSettingName(String clientSecretSettingName)
Set the client |
Azure |
withOpenIdIssuer(String openIdIssuer)
Set the open |
Methods inherited from java.lang.Object
Constructor Details
AzureActiveDirectoryRegistration
public AzureActiveDirectoryRegistration()
Creates an instance of AzureActiveDirectoryRegistration class.
Method Details
clientId
public String 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:
clientSecretCertificateIssuer
public String 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:
clientSecretCertificateSubjectAlternativeName
public String 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:
clientSecretCertificateThumbprint
public String 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:
clientSecretSettingName
public String clientSecretSettingName()
Get the clientSecretSettingName property: The app setting name that contains the client secret of the relying party application.
Returns:
fromJson
public static AzureActiveDirectoryRegistration fromJson(JsonReader jsonReader)
Reads an instance of AzureActiveDirectoryRegistration from the JsonReader.
Parameters:
Returns:
Throws:
openIdIssuer
public String 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:
toJson
validate
public void validate()
Validates the instance.
withClientId
public AzureActiveDirectoryRegistration withClientId(String clientId)
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
withClientSecretSettingName
public AzureActiveDirectoryRegistration withClientSecretSettingName(String clientSecretSettingName)
Set the clientSecretSettingName property: The app setting name that contains the client secret of the relying party application.
Parameters:
Returns:
withOpenIdIssuer
public AzureActiveDirectoryRegistration withOpenIdIssuer(String openIdIssuer)
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:
Returns:
Applies to
Azure SDK for Java