Package io.jans.as.model.authzdetails
Class AuthzDetails
- java.lang.Object
-
- io.jans.as.model.authzdetails.AuthzDetails
-
public class AuthzDetails extends Object
- Author:
- Yuriy Z
-
-
Constructor Summary
Constructors Constructor Description AuthzDetails()
AuthzDetails(List<AuthzDetail> details)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.json.JSONArray
asJsonArray()
String
asJsonString()
List<AuthzDetail>
getDetails()
Set<String>
getTypes()
static boolean
isEmpty(AuthzDetails authzDetails)
static AuthzDetails
of(String jsonArray)
static AuthzDetails
of(org.json.JSONArray jsonArray)
static AuthzDetails
ofSilently(String jsonArray)
boolean
similar(String authorizationDetails)
static boolean
similar(String authorizationDetails1, String authorizationDetails2)
static String
simpleMerge(String authorizationDetails1, String authorizationDetails2)
String
toString()
-
-
-
Constructor Detail
-
AuthzDetails
public AuthzDetails(List<AuthzDetail> details)
-
AuthzDetails
public AuthzDetails()
-
-
Method Detail
-
of
public static AuthzDetails of(String jsonArray)
-
ofSilently
public static AuthzDetails ofSilently(String jsonArray)
-
of
public static AuthzDetails of(org.json.JSONArray jsonArray)
-
simpleMerge
public static String simpleMerge(String authorizationDetails1, String authorizationDetails2)
-
asJsonArray
public org.json.JSONArray asJsonArray()
-
asJsonString
public String asJsonString()
-
similar
public boolean similar(String authorizationDetails)
-
getDetails
public List<AuthzDetail> getDetails()
-
isEmpty
public static boolean isEmpty(AuthzDetails authzDetails)
-
-