Class AuthorizationDetails
- java.lang.Object
-
- com.pingidentity.sdk.authorizationdetails.AuthorizationDetails
-
- All Implemented Interfaces:
Serializable
public class AuthorizationDetails extends Object implements Serializable
The OAuth Authorization Details.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthorizationDetails()Construct 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AuthorizationDetail>getDetails()Get theAuthorizationDetailassociated with the authorization details.AttributeValuetoAttributeValue()Get the Attribute Value based on the Authorization Details JSON Array.StringtoJson()Get the JSON array for the authorization details JSON objects.
-
-
-
Constructor Detail
-
AuthorizationDetails
public AuthorizationDetails()
Construct a new authorization details with no authorization details.
-
AuthorizationDetails
public AuthorizationDetails(AuthorizationDetails authorizationDetails)
Construct a copy of the authorization details.- Parameters:
authorizationDetails- the authorization details to copy
-
AuthorizationDetails
public AuthorizationDetails(AuthorizationDetail[] authorizationDetails)
Construct a new authorization detail with an array of authorization detail.- Parameters:
authorizationDetails- an array of authorization detail
-
AuthorizationDetails
public AuthorizationDetails(String authorizationDetails) throws IOException
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 Detail
-
getDetails
public List<AuthorizationDetail> getDetails()
Get theAuthorizationDetailassociated with the authorization details.- Returns:
- a list of
AuthorizationDetail.
-
toJson
public String toJson()
Get the JSON array for the authorization details JSON objects.- Returns:
- a string representation of the JSON array.
-
toAttributeValue
public AttributeValue toAttributeValue()
Get the Attribute Value based on the Authorization Details JSON Array.- Returns:
- an
AttributeValuebased on data of the underlying JSON.
-
-