AppRegistration Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. AppRegistration
- com.
Implements
public final class AppRegistration
implements JsonSerializable<AppRegistration>
The configuration settings of the app registration for providers that have app ids and app secrets.
Constructor Summary
Constructor | Description |
---|---|
AppRegistration() |
Creates an instance of App |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
appId()
Get the app |
String |
appSecretSettingName()
Get the app |
static
App |
fromJson(JsonReader jsonReader)
Reads an instance of App |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
App |
withAppId(String appId)
Set the app |
App |
withAppSecretSettingName(String appSecretSettingName)
Set the app |
Methods inherited from java.lang.Object
Constructor Details
AppRegistration
public AppRegistration()
Creates an instance of AppRegistration class.
Method Details
appId
public String appId()
Get the appId property: The App ID of the app used for login.
Returns:
appSecretSettingName
public String appSecretSettingName()
Get the appSecretSettingName property: The app setting name that contains the app secret.
Returns:
fromJson
public static AppRegistration fromJson(JsonReader jsonReader)
Reads an instance of AppRegistration from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAppId
public AppRegistration withAppId(String appId)
Set the appId property: The App ID of the app used for login.
Parameters:
Returns:
withAppSecretSettingName
public AppRegistration withAppSecretSettingName(String appSecretSettingName)
Set the appSecretSettingName property: The app setting name that contains the app secret.
Parameters:
Returns:
Applies to
Azure SDK for Java