public final class ClientRegistration extends Object
| Constructor and Description |
|---|
ClientRegistration() |
| Modifier and Type | Method and Description |
|---|---|
String |
clientId()
Get the clientId property: The Client ID of the app used for login.
|
String |
clientSecretSettingName()
Get the clientSecretSettingName property: The app setting name that contains the client secret.
|
void |
validate()
Validates the instance.
|
ClientRegistration |
withClientId(String clientId)
Set the clientId property: The Client ID of the app used for login.
|
ClientRegistration |
withClientSecretSettingName(String clientSecretSettingName)
Set the clientSecretSettingName property: The app setting name that contains the client secret.
|
public String clientId()
public ClientRegistration withClientId(String clientId)
clientId - the clientId value to set.public String clientSecretSettingName()
public ClientRegistration withClientSecretSettingName(String clientSecretSettingName)
clientSecretSettingName - the clientSecretSettingName value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.