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:
  • Constructor Details

    • 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 Details

    • getDetails

      public List<AuthorizationDetail> getDetails()
      Get the AuthorizationDetail associated 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 AttributeValue based on data of the underlying JSON.