OpenIdConnectClientCredential Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. OpenIdConnectClientCredential
- com.
Implements
public final class OpenIdConnectClientCredential
implements JsonSerializable<OpenIdConnectClientCredential>
The authentication client credentials of the custom Open ID Connect provider.
Constructor Summary
Constructor | Description |
---|---|
OpenIdConnectClientCredential() |
Creates an instance of Open |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
clientSecretSettingName()
Get the client |
static
Open |
fromJson(JsonReader jsonReader)
Reads an instance of Open |
Client |
method()
Get the method property: The method that should be used to authenticate the user. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Open |
withClientSecretSettingName(String clientSecretSettingName)
Set the client |
Open |
withMethod(ClientCredentialMethod method)
Set the method property: The method that should be used to authenticate the user. |
Methods inherited from java.lang.Object
Constructor Details
OpenIdConnectClientCredential
public OpenIdConnectClientCredential()
Creates an instance of OpenIdConnectClientCredential class.
Method Details
clientSecretSettingName
public String clientSecretSettingName()
Get the clientSecretSettingName property: The app setting that contains the client secret for the custom Open ID Connect provider.
Returns:
fromJson
public static OpenIdConnectClientCredential fromJson(JsonReader jsonReader)
Reads an instance of OpenIdConnectClientCredential from the JsonReader.
Parameters:
Returns:
Throws:
method
public ClientCredentialMethod method()
Get the method property: The method that should be used to authenticate the user.
Returns:
toJson
validate
public void validate()
Validates the instance.
withClientSecretSettingName
public OpenIdConnectClientCredential withClientSecretSettingName(String clientSecretSettingName)
Set the clientSecretSettingName property: The app setting that contains the client secret for the custom Open ID Connect provider.
Parameters:
Returns:
withMethod
public OpenIdConnectClientCredential withMethod(ClientCredentialMethod method)
Set the method property: The method that should be used to authenticate the user.
Parameters:
Returns:
Applies to
Azure SDK for Java