Methods
withClientId(clientIdnon-null) → {ServicePrincipalCredentialsBuilder}
- Description:
Set the client id (API Key)
Parameters:
Name | Type | Description |
---|---|---|
clientId |
String | Client Id (API Key) |
Returns:
This Builder instance to add any additional parameters.
withClientSecret(clientSecretnon-null) → {ServicePrincipalCredentialsBuilder}
- Description:
Set the client secret
Parameters:
Name | Type | Description |
---|---|---|
clientSecret |
String | Client Secret |
Returns:
This Builder instance to add any additional parameters.
build() → {ServicePrincipalCredentials}
- Description:
Returns a new ServicePrincipalCredentials instance built from the current state of this builder.
Returns:
A ServicePrincipalCredentials instance.