Class AuthorizationChallengeService
- java.lang.Object
-
- io.jans.as.server.authorize.ws.rs.AuthorizationChallengeService
-
@RequestScoped @Named public class AuthorizationChallengeService extends Object
- Author:
- Yuriy Z
-
-
Constructor Summary
Constructors Constructor Description AuthorizationChallengeService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
authorize(AuthzRequest authzRequest)
jakarta.ws.rs.core.Response
createSuccessfulResponse(String authorizationCode)
void
prepareAuthzRequest(AuthzRequest authzRequest)
jakarta.ws.rs.core.Response
requestAuthorization(AuthzRequest authzRequest)
-
-
-
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
-
-