SsoProperties Class

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

Implements

public final class SsoProperties
implements JsonSerializable<SsoProperties>

Single sign-on related configuration.

Constructor Summary

Constructor Description
SsoProperties()

Creates an instance of SsoProperties 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 SsoProperties fromJson(JsonReader jsonReader)

Reads an instance of SsoProperties from the JsonReader.

String issuerUri()

Get the issuerUri property: The URI of Issuer Identifier.

List<String> scope()

Get the scope 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.

SsoProperties withClientId(String clientId)

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

SsoProperties withClientSecret(String clientSecret)

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

SsoProperties withIssuerUri(String issuerUri)

Set the issuerUri property: The URI of Issuer Identifier.

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

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 SsoProperties fromJson(JsonReader jsonReader)

Reads an instance of SsoProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SsoProperties 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 SsoProperties.

issuerUri

public String issuerUri()

Get the issuerUri property: The URI of Issuer Identifier.

Returns:

the issuerUri value.

scope

public List scope()

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

Returns:

the scope value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withClientId

public SsoProperties withClientId(String clientId)

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

Parameters:

clientId - the clientId value to set.

Returns:

the SsoProperties object itself.

withClientSecret

public SsoProperties 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 SsoProperties object itself.

withIssuerUri

public SsoProperties withIssuerUri(String issuerUri)

Set the issuerUri property: The URI of Issuer Identifier.

Parameters:

issuerUri - the issuerUri value to set.

Returns:

the SsoProperties object itself.

withScope

public SsoProperties withScope(List scope)

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

Parameters:

scope - the scope value to set.

Returns:

the SsoProperties object itself.

Applies to