SsoProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. SsoProperties
- com.
Implements
public final class SsoProperties
implements JsonSerializable<SsoProperties>
Single sign-on related configuration.
Constructor Summary
Constructor | Description |
---|---|
SsoProperties() |
Creates an instance of Sso |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
clientId()
Get the client |
String |
clientSecret()
Get the client |
static
Sso |
fromJson(JsonReader jsonReader)
Reads an instance of Sso |
String |
issuerUri()
Get the issuer |
List<String> |
scope()
Get the scope property: It defines the specific actions applications can be allowed to do on a user's behalf. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Sso |
withClientId(String clientId)
Set the client |
Sso |
withClientSecret(String clientSecret)
Set the client |
Sso |
withIssuerUri(String issuerUri)
Set the issuer |
Sso |
withScope(List<String> scope)
Set the scope property: It defines the specific actions applications can be allowed to do on a user's behalf. |
Methods inherited from java.lang.Object
Constructor Details
SsoProperties
public SsoProperties()
Creates an instance of SsoProperties class.
Method Details
clientId
public String clientId()
Get the clientId property: The public identifier for the application.
Returns:
clientSecret
public String clientSecret()
Get the clientSecret property: The secret known only to the application and the authorization server.
Returns:
fromJson
public static SsoProperties fromJson(JsonReader jsonReader)
Reads an instance of SsoProperties from the JsonReader.
Parameters:
Returns:
Throws:
issuerUri
public String issuerUri()
Get the issuerUri property: The URI of Issuer Identifier.
Returns:
scope
public List
Get the scope property: It defines the specific actions applications can be allowed to do on a user's behalf.
Returns:
toJson
validate
public void validate()
Validates the instance.
withClientId
public SsoProperties withClientId(String clientId)
Set the clientId property: The public identifier for the application.
Parameters:
Returns:
withClientSecret
public SsoProperties withClientSecret(String clientSecret)
Set the clientSecret property: The secret known only to the application and the authorization server.
Parameters:
Returns:
withIssuerUri
public SsoProperties withIssuerUri(String issuerUri)
Set the issuerUri property: The URI of Issuer Identifier.
Parameters:
Returns:
withScope
public SsoProperties withScope(List
Set the scope property: It defines the specific actions applications can be allowed to do on a user's behalf.
Parameters:
Returns:
Applies to
Azure SDK for Java