DevToolPortalSsoProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.DevToolPortalSsoProperties

Implements

public final class DevToolPortalSsoProperties
implements JsonSerializable<DevToolPortalSsoProperties>

Single sign-on related configuration.

Constructor Summary

Constructor Description
DevToolPortalSsoProperties()

Creates an instance of DevToolPortalSsoProperties class.

Method Summary

Modifier and Type Method and Description
String clientId()

Get the clientId property: The public identifier for the application.

String clientSecret()

Get the clientSecret property: The secret known only to the application and the authorization server.

static DevToolPortalSsoProperties fromJson(JsonReader jsonReader)

Reads an instance of DevToolPortalSsoProperties from the JsonReader.

String metadataUrl()

Get the metadataUrl property: The URI of a JSON file with generic OIDC provider configuration.

List<String> scopes()

Get the scopes property: It defines the specific actions applications can be allowed to do on a user's behalf.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DevToolPortalSsoProperties withClientId(String clientId)

Set the clientId property: The public identifier for the application.

DevToolPortalSsoProperties withClientSecret(String clientSecret)

Set the clientSecret property: The secret known only to the application and the authorization server.

DevToolPortalSsoProperties withMetadataUrl(String metadataUrl)

Set the metadataUrl property: The URI of a JSON file with generic OIDC provider configuration.

DevToolPortalSsoProperties 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:

the clientId value.

clientSecret

public String clientSecret()

Get the clientSecret property: The secret known only to the application and the authorization server.

Returns:

the clientSecret value.

fromJson

public static DevToolPortalSsoProperties fromJson(JsonReader jsonReader)

Reads an instance of DevToolPortalSsoProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DevToolPortalSsoProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DevToolPortalSsoProperties.

metadataUrl

public String metadataUrl()

Get the metadataUrl property: The URI of a JSON file with generic OIDC provider configuration.

Returns:

the metadataUrl value.

scopes

public List scopes()

Get the scopes property: It defines the specific actions applications can be allowed to do on a user's behalf.

Returns:

the scopes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withClientId

public DevToolPortalSsoProperties withClientId(String clientId)

Set the clientId property: The public identifier for the application.

Parameters:

clientId - the clientId value to set.

Returns:

the DevToolPortalSsoProperties object itself.

withClientSecret

public DevToolPortalSsoProperties withClientSecret(String clientSecret)

Set the clientSecret property: The secret known only to the application and the authorization server.

Parameters:

clientSecret - the clientSecret value to set.

Returns:

the DevToolPortalSsoProperties object itself.

withMetadataUrl

public DevToolPortalSsoProperties withMetadataUrl(String metadataUrl)

Set the metadataUrl property: The URI of a JSON file with generic OIDC provider configuration.

Parameters:

metadataUrl - the metadataUrl value to set.

Returns:

the DevToolPortalSsoProperties object itself.

withScopes

public DevToolPortalSsoProperties withScopes(List scopes)

Set the scopes property: It defines the specific actions applications can be allowed to do on a user's behalf.

Parameters:

scopes - the scopes value to set.

Returns:

the DevToolPortalSsoProperties object itself.

Applies to