OpenIdConnectConfig Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. OpenIdConnectConfig
- com.
Implements
public final class OpenIdConnectConfig
implements JsonSerializable<OpenIdConnectConfig>
The configuration settings of the endpoints used for the custom Open ID Connect provider.
Constructor Summary
Constructor | Description |
---|---|
OpenIdConnectConfig() |
Creates an instance of Open |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
authorizationEndpoint()
Get the authorization |
String |
certificationUri()
Get the certification |
static
Open |
fromJson(JsonReader jsonReader)
Reads an instance of Open |
String |
issuer()
Get the issuer property: The endpoint that issues the token. |
Json |
toJson(JsonWriter jsonWriter) |
String |
tokenEndpoint()
Get the token |
void |
validate()
Validates the instance. |
String |
wellKnownOpenIdConfiguration()
Get the well |
Open |
withAuthorizationEndpoint(String authorizationEndpoint)
Set the authorization |
Open |
withCertificationUri(String certificationUri)
Set the certification |
Open |
withIssuer(String issuer)
Set the issuer property: The endpoint that issues the token. |
Open |
withTokenEndpoint(String tokenEndpoint)
Set the token |
Open |
withWellKnownOpenIdConfiguration(String wellKnownOpenIdConfiguration)
Set the well |
Methods inherited from java.lang.Object
Constructor Details
OpenIdConnectConfig
public OpenIdConnectConfig()
Creates an instance of OpenIdConnectConfig class.
Method Details
authorizationEndpoint
public String authorizationEndpoint()
Get the authorizationEndpoint property: The endpoint to be used to make an authorization request.
Returns:
certificationUri
public String certificationUri()
Get the certificationUri property: The endpoint that provides the keys necessary to validate the token.
Returns:
fromJson
public static OpenIdConnectConfig fromJson(JsonReader jsonReader)
Reads an instance of OpenIdConnectConfig from the JsonReader.
Parameters:
Returns:
Throws:
issuer
public String issuer()
Get the issuer property: The endpoint that issues the token.
Returns:
toJson
tokenEndpoint
public String tokenEndpoint()
Get the tokenEndpoint property: The endpoint to be used to request a token.
Returns:
validate
public void validate()
Validates the instance.
wellKnownOpenIdConfiguration
public String wellKnownOpenIdConfiguration()
Get the wellKnownOpenIdConfiguration property: The endpoint that contains all the configuration endpoints for the provider.
Returns:
withAuthorizationEndpoint
public OpenIdConnectConfig withAuthorizationEndpoint(String authorizationEndpoint)
Set the authorizationEndpoint property: The endpoint to be used to make an authorization request.
Parameters:
Returns:
withCertificationUri
public OpenIdConnectConfig withCertificationUri(String certificationUri)
Set the certificationUri property: The endpoint that provides the keys necessary to validate the token.
Parameters:
Returns:
withIssuer
public OpenIdConnectConfig withIssuer(String issuer)
Set the issuer property: The endpoint that issues the token.
Parameters:
Returns:
withTokenEndpoint
public OpenIdConnectConfig withTokenEndpoint(String tokenEndpoint)
Set the tokenEndpoint property: The endpoint to be used to request a token.
Parameters:
Returns:
withWellKnownOpenIdConfiguration
public OpenIdConnectConfig withWellKnownOpenIdConfiguration(String wellKnownOpenIdConfiguration)
Set the wellKnownOpenIdConfiguration property: The endpoint that contains all the configuration endpoints for the provider.
Parameters:
Returns:
Applies to
Azure SDK for Java