Package io.jans.as.server.service
Class IntrospectionService
- java.lang.Object
-
- io.jans.as.server.service.IntrospectionService
-
@Named public class IntrospectionService extends Object
- Author:
- Yuriy Z
-
-
Constructor Summary
Constructors Constructor Description IntrospectionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcreateResponseAsJwt(org.json.JSONObject response, AuthorizationGrant grant)StringcreateResponseJwt(org.json.JSONObject response, AuthorizationGrant grant)voidfillPayload(io.jans.as.model.token.JsonWebResponse jwt, org.json.JSONObject response, AuthorizationGrant grant)booleanisJwtResponse(String responseAsJwt, String acceptHeader)voidvalidateIntrospectionScopePresence(AuthorizationGrant authorizationGrant)
-
-
-
Method Detail
-
validateIntrospectionScopePresence
public void validateIntrospectionScopePresence(AuthorizationGrant authorizationGrant)
-
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
-
-