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