Package io.jans.as.server.register.ws.rs
Class RegisterService
java.lang.Object
io.jans.as.server.register.ws.rs.RegisterService
- Author:
- Yuriy Zabrovarnyy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDefaultCustomAttributes
(org.json.JSONObject requestObject) void
assignScopes
(io.jans.as.common.model.registration.Client client, io.jans.as.client.RegisterRequest requestObject) clientScopesToString
(io.jans.as.common.model.registration.Client client) jakarta.ws.rs.core.Response.ResponseBuilder
createInternalErrorResponse
(String reason) Set<io.jans.as.model.common.GrantType>
identifyGrantTypes
(Collection<io.jans.as.model.common.ResponseType> identifiedResponseTypes, Collection<io.jans.as.model.common.GrantType> requestGrantTypes) Set<io.jans.as.model.common.ResponseType>
identifyResponseTypes
(Collection<io.jans.as.model.common.ResponseType> requestResponseTypes, Collection<io.jans.as.model.common.GrantType> requestGrantTypes) static String[]
@NotNull org.json.JSONObject
parseRequestObjectWithoutValidation
(String requestParams) void
updateClientFromRequestObject
(io.jans.as.common.model.registration.Client client, io.jans.as.client.RegisterRequest requestObject, boolean update)
-
Constructor Details
-
RegisterService
public RegisterService()
-
-
Method Details
-
clientScopesToString
-
identifyResponseTypes
public Set<io.jans.as.model.common.ResponseType> identifyResponseTypes(Collection<io.jans.as.model.common.ResponseType> requestResponseTypes, Collection<io.jans.as.model.common.GrantType> requestGrantTypes) -
identifyGrantTypes
public Set<io.jans.as.model.common.GrantType> identifyGrantTypes(Collection<io.jans.as.model.common.ResponseType> identifiedResponseTypes, Collection<io.jans.as.model.common.GrantType> requestGrantTypes) -
listAsArrayWithoutDuplicates
-
updateClientFromRequestObject
public void updateClientFromRequestObject(io.jans.as.common.model.registration.Client client, io.jans.as.client.RegisterRequest requestObject, boolean update) throws org.json.JSONException - Throws:
org.json.JSONException
-
assignScopes
public void assignScopes(io.jans.as.common.model.registration.Client client, io.jans.as.client.RegisterRequest requestObject) -
addDefaultCustomAttributes
public void addDefaultCustomAttributes(org.json.JSONObject requestObject) -
createInternalErrorResponse
-
parseRequestObjectWithoutValidation
@NotNull public @NotNull org.json.JSONObject parseRequestObjectWithoutValidation(String requestParams) throws org.json.JSONException - Throws:
org.json.JSONException
-