Package io.jans.as.server.service
Class IntrospectionService
java.lang.Object
io.jans.as.server.service.IntrospectionService
- Author:
- Yuriy Z
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateResponseAsJwt
(org.json.JSONObject response, AuthorizationGrant grant) createResponseJwt
(org.json.JSONObject response, AuthorizationGrant grant) void
fillPayload
(io.jans.as.model.token.JsonWebResponse jwt, org.json.JSONObject response, AuthorizationGrant grant) boolean
isJwtResponse
(String responseAsJwt, String acceptHeader) void
validateIntrospectionScopePresence
(AuthorizationGrant authorizationGrant)
-
Constructor Details
-
IntrospectionService
public IntrospectionService()
-
-
Method Details
-
validateIntrospectionScopePresence
-
isJwtResponse
-
createResponseJwt
public String createResponseJwt(org.json.JSONObject response, AuthorizationGrant grant) throws Exception - Throws:
Exception
-
fillPayload
public void fillPayload(io.jans.as.model.token.JsonWebResponse jwt, org.json.JSONObject response, AuthorizationGrant grant) throws io.jans.as.model.exception.InvalidJwtException - Throws:
io.jans.as.model.exception.InvalidJwtException
-
createResponseAsJwt
public String createResponseAsJwt(org.json.JSONObject response, AuthorizationGrant grant) throws Exception - Throws:
Exception
-