Class AuthorizationDetail

java.lang.Object
com.pingidentity.sdk.authorizationdetails.AuthorizationDetail
All Implemented Interfaces:
Serializable

public class AuthorizationDetail extends Object implements Serializable
The OAuth Authorization Detail.
See Also:
  • Field Details

  • Constructor Details

    • AuthorizationDetail

      public AuthorizationDetail(Map<String,Object> authorizationDetail)
      Construct a new Authorization Detail.
      Parameters:
      authorizationDetail - the authorization detail Map.
    • AuthorizationDetail

      public AuthorizationDetail(AuthorizationDetail authorizationDetail)
      Construct a copy of the Authorization Detail.
      Parameters:
      authorizationDetail - the authorization detail to copy.
  • Method Details

    • getType

      public String getType()
      Get the authorization detail type.
      Returns:
      the authorization detail type.
    • getLocations

      public String[] getLocations()
      Get the authorization detail locations if present.
      Returns:
      the authorization detail locations, or null.
    • getActions

      public String[] getActions()
      Get the authorization detail actions if present.
      Returns:
      the authorization detail actions, or null.
    • getDataTypes

      public String[] getDataTypes()
      Get the authorization detail datatypes if present.
      Returns:
      the authorization detail datatypes, or null.
    • getIdentifier

      public String getIdentifier()
      Get the authorization detail identifier if present.
      Returns:
      the authorization detail identifier, or null.
    • getPrivileges

      public String[] getPrivileges()
      Get the authorization detail privileges if present.
      Returns:
      the authorization detail privileges, or null.
    • getDetail

      public Map<String,Object> getDetail()
      Get a copy of the underlying authorization detail JSON object as a Map.
      Returns:
      a copy of the authorization detail JSON object as a Map.
    • setDetail

      public void setDetail(Map<String,Object> authorizationDetail)
      Set the underlying authorization detail JSON object Map.
      Parameters:
      authorizationDetail - the authorization detail Map.