public final class OpenIdConnectClientCredential extends Object
| Constructor and Description |
|---|
OpenIdConnectClientCredential() |
| Modifier and Type | Method and Description |
|---|---|
String |
clientSecretSettingName()
Get the clientSecretSettingName property: The app setting that contains the client secret for the custom Open ID
Connect provider.
|
ClientCredentialMethod |
method()
Get the method property: The method that should be used to authenticate the user.
|
void |
validate()
Validates the instance.
|
OpenIdConnectClientCredential |
withClientSecretSettingName(String clientSecretSettingName)
Set the clientSecretSettingName property: The app setting that contains the client secret for the custom Open ID
Connect provider.
|
OpenIdConnectClientCredential |
withMethod(ClientCredentialMethod method)
Set the method property: The method that should be used to authenticate the user.
|
public ClientCredentialMethod method()
public OpenIdConnectClientCredential withMethod(ClientCredentialMethod method)
method - the method value to set.public String clientSecretSettingName()
public OpenIdConnectClientCredential 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.