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 String
createResponseAsJwt(org.json.JSONObject response, AuthorizationGrant grant)
JwtSigner
createResponseJwt(org.json.JSONObject response, AuthorizationGrant grant)
void
fillPayload(io.jans.as.model.jwt.Jwt jwt, org.json.JSONObject response, AuthorizationGrant grant)
boolean
isJwtResponse(String responseAsJwt, String acceptHeader)
void
validateIntrospectionScopePresence(AuthorizationGrant authorizationGrant)
-
-
-
Method Detail
-
validateIntrospectionScopePresence
public void validateIntrospectionScopePresence(AuthorizationGrant authorizationGrant)
-
createResponseJwt
public JwtSigner createResponseJwt(org.json.JSONObject response, AuthorizationGrant grant) throws Exception
- Throws:
Exception
-
fillPayload
public void fillPayload(io.jans.as.model.jwt.Jwt 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
-
-