public final class AppRegistration extends Object
| Constructor and Description |
|---|
AppRegistration() |
| Modifier and Type | Method and Description |
|---|---|
String |
appId()
Get the appId property: The App ID of the app used for login.
|
String |
appSecretSettingName()
Get the appSecretSettingName property: The app setting name that contains the app secret.
|
void |
validate()
Validates the instance.
|
AppRegistration |
withAppId(String appId)
Set the appId property: The App ID of the app used for login.
|
AppRegistration |
withAppSecretSettingName(String appSecretSettingName)
Set the appSecretSettingName property: The app setting name that contains the app secret.
|
public String appId()
public AppRegistration withAppId(String appId)
appId - the appId value to set.public String appSecretSettingName()
public AppRegistration withAppSecretSettingName(String appSecretSettingName)
appSecretSettingName - the appSecretSettingName value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.