| Package | Description |
|---|---|
| com.authlete.common.dto |
Requests to and responses from Authlete APIs and some data structures.
|
| Modifier and Type | Method and Description |
|---|---|
AuthzDetailsElement |
AuthzDetailsElementDeserializer.deserialize(com.google.gson.JsonElement jelement,
Type type,
com.google.gson.JsonDeserializationContext context) |
static AuthzDetailsElement |
AuthzDetailsElement.fromJson(String json)
Build an
AuthzDetailsElement instance from a JSON string. |
AuthzDetailsElement[] |
AuthzDetails.getElements()
Get the elements of this authorization details.
|
AuthzDetailsElement |
AuthzDetailsElement.setActions(String[] actions)
Set the actions.
|
AuthzDetailsElement |
AuthzDetailsElement.setDataTypes(String[] dataTypes)
Set the data types.
|
AuthzDetailsElement |
AuthzDetailsElement.setIdentifier(String identifier)
Set the identifier of a specific resource.
|
AuthzDetailsElement |
AuthzDetailsElement.setLocations(String[] locations)
Set the resources and/or resource servers.
|
AuthzDetailsElement |
AuthzDetailsElement.setOtherFields(String otherFields)
Set the other fields (than the pre-defined ones such as
type
and locations) as a string in the JSON format. |
AuthzDetailsElement |
AuthzDetailsElement.setOtherFieldsFromMap(Map<?,?> otherFields)
|
AuthzDetailsElement |
AuthzDetailsElement.setPrivileges(String[] privileges)
Set the types or levels of privilege.
|
AuthzDetailsElement |
AuthzDetailsElement.setType(String type)
Set the type of this element.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonElement |
AuthzDetailsElementSerializer.serialize(AuthzDetailsElement element,
Type type,
com.google.gson.JsonSerializationContext context) |
AuthzDetails |
AuthzDetails.setElements(AuthzDetailsElement[] elements)
Set the elements of this authorization details.
|
Copyright © 2022. All rights reserved.