DevToolPortalSsoProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. DevToolPortalSsoProperties
- com.
Implements
public final class DevToolPortalSsoProperties
implements JsonSerializable<DevToolPortalSsoProperties>
Single sign-on related configuration.
Constructor Summary
Constructor | Description |
---|---|
DevToolPortalSsoProperties() |
Creates an instance of Dev |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
clientId()
Get the client |
String |
clientSecret()
Get the client |
static
Dev |
fromJson(JsonReader jsonReader)
Reads an instance of Dev |
String |
metadataUrl()
Get the metadata |
List<String> |
scopes()
Get the scopes 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. |
Dev |
withClientId(String clientId)
Set the client |
Dev |
withClientSecret(String clientSecret)
Set the client |
Dev |
withMetadataUrl(String metadataUrl)
Set the metadata |
Dev |
withScopes(List<String> scopes)
Set the scopes 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
DevToolPortalSsoProperties
public DevToolPortalSsoProperties()
Creates an instance of DevToolPortalSsoProperties 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 DevToolPortalSsoProperties fromJson(JsonReader jsonReader)
Reads an instance of DevToolPortalSsoProperties from the JsonReader.
Parameters:
Returns:
Throws:
metadataUrl
public String metadataUrl()
Get the metadataUrl property: The URI of a JSON file with generic OIDC provider configuration.
Returns:
scopes
public List
Get the scopes 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 DevToolPortalSsoProperties withClientId(String clientId)
Set the clientId property: The public identifier for the application.
Parameters:
Returns:
withClientSecret
public DevToolPortalSsoProperties withClientSecret(String clientSecret)
Set the clientSecret property: The secret known only to the application and the authorization server.
Parameters:
Returns:
withMetadataUrl
public DevToolPortalSsoProperties withMetadataUrl(String metadataUrl)
Set the metadataUrl property: The URI of a JSON file with generic OIDC provider configuration.
Parameters:
Returns:
withScopes
public DevToolPortalSsoProperties withScopes(List
Set the scopes 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