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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMMON_ACTIONS_FIELD_NAMEstatic StringCOMMON_DATATYPES_FIELD_NAMEstatic StringCOMMON_IDENTIFIER_FIELD_NAMEstatic StringCOMMON_LOCATIONS_FIELD_NAMEstatic StringCOMMON_PRIVILEGES_FIELD_NAMEstatic StringTYPE_FIELD_NAME
-
Constructor Summary
Constructors Constructor Description AuthorizationDetail(AuthorizationDetail authorizationDetail)Construct a copy of the Authorization Detail.AuthorizationDetail(Map<String,Object> authorizationDetail)Construct a new Authorization Detail.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getActions()Get the authorization detail actions if present.String[]getDataTypes()Get the authorization detail datatypes if present.Map<String,Object>getDetail()Get a copy of the underlying authorization detail JSON object as a Map.StringgetIdentifier()Get the authorization detail identifier if present.String[]getLocations()Get the authorization detail locations if present.String[]getPrivileges()Get the authorization detail privileges if present.StringgetType()Get the authorization detail type.voidsetDetail(Map<String,Object> authorizationDetail)Set the underlying authorization detail JSON object Map.
-
-
-
Field Detail
-
TYPE_FIELD_NAME
public static final String TYPE_FIELD_NAME
- See Also:
- Constant Field Values
-
COMMON_LOCATIONS_FIELD_NAME
public static final String COMMON_LOCATIONS_FIELD_NAME
- See Also:
- Constant Field Values
-
COMMON_ACTIONS_FIELD_NAME
public static final String COMMON_ACTIONS_FIELD_NAME
- See Also:
- Constant Field Values
-
COMMON_DATATYPES_FIELD_NAME
public static final String COMMON_DATATYPES_FIELD_NAME
- See Also:
- Constant Field Values
-
COMMON_IDENTIFIER_FIELD_NAME
public static final String COMMON_IDENTIFIER_FIELD_NAME
- See Also:
- Constant Field Values
-
COMMON_PRIVILEGES_FIELD_NAME
public static final String COMMON_PRIVILEGES_FIELD_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
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.
-
-