Class AuthorizationChallengeService


  • @RequestScoped
    @Named
    public class AuthorizationChallengeService
    extends Object
    Author:
    Yuriy Z
    • Constructor Detail

      • AuthorizationChallengeService

        public AuthorizationChallengeService()
    • Method Detail

      • requestAuthorization

        public jakarta.ws.rs.core.Response requestAuthorization​(AuthzRequest authzRequest)
      • prepareAuthzRequest

        public void prepareAuthzRequest​(AuthzRequest authzRequest)
      • authorize

        public jakarta.ws.rs.core.Response authorize​(AuthzRequest authzRequest)
                                              throws IOException,
                                                     io.jans.as.model.crypto.binding.TokenBindingParseException
        Throws:
        IOException
        io.jans.as.model.crypto.binding.TokenBindingParseException
      • createSuccessfulResponse

        public jakarta.ws.rs.core.Response createSuccessfulResponse​(String authorizationCode)
                                                             throws IOException
        Throws:
        IOException