Class AuthorizationDetails
java.lang.Object
com.pingidentity.sdk.authorizationdetails.AuthorizationDetails
- All Implemented Interfaces:
Serializable
The OAuth Authorization Details.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new authorization details with no authorization details.AuthorizationDetails(AuthorizationDetail[] authorizationDetails) Construct a new authorization detail with an array of authorization detail.AuthorizationDetails(AuthorizationDetails authorizationDetails) Construct a copy of the authorization details.AuthorizationDetails(String authorizationDetails) Construct a new authorization details with the authorization_details JSON array string. -
Method Summary
Modifier and TypeMethodDescriptionGet theAuthorizationDetailassociated with the authorization details.Get the Attribute Value based on the Authorization Details JSON Array.toJson()Get the JSON array for the authorization details JSON objects.
-
Constructor Details
-
AuthorizationDetails
public AuthorizationDetails()Construct a new authorization details with no authorization details. -
AuthorizationDetails
Construct a copy of the authorization details.- Parameters:
authorizationDetails- the authorization details to copy
-
AuthorizationDetails
Construct a new authorization detail with an array of authorization detail.- Parameters:
authorizationDetails- an array of authorization detail
-
AuthorizationDetails
Construct a new authorization details with the authorization_details JSON array string.- Parameters:
authorizationDetails- the authorization_details JSON array object.- Throws:
IOException- when there is an issue parsing the JSON array object.
-
-
Method Details
-
getDetails
Get theAuthorizationDetailassociated with the authorization details.- Returns:
- a list of
AuthorizationDetail.
-
toJson
Get the JSON array for the authorization details JSON objects.- Returns:
- a string representation of the JSON array.
-
toAttributeValue
Get the Attribute Value based on the Authorization Details JSON Array.- Returns:
- an
AttributeValuebased on data of the underlying JSON.
-