Class IntrospectionService


  • @Named
    public class IntrospectionService
    extends java.lang.Object
    Author:
    Yuriy Z
    • Constructor Detail

      • IntrospectionService

        public IntrospectionService()
    • Method Detail

      • isJwtResponse

        public boolean isJwtResponse​(java.lang.String responseAsJwt,
                                     java.lang.String acceptHeader)
      • createResponseJwt

        public JwtSigner createResponseJwt​(org.json.JSONObject response,
                                           AuthorizationGrant grant)
                                    throws java.lang.Exception
        Throws:
        java.lang.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 java.lang.String createResponseAsJwt​(org.json.JSONObject response,
                                                    AuthorizationGrant grant)
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception