src/main/java/com/authlete/jaxrs/AuthorizationDecisionHandler.java
public Response handle(String ticket, String[] claimNames, String[] claimLocales) throws WebApplicationException
    {
        try
        {
            // Process the end-user's decision.
            return process(ticket, claimNames, claimLocales);
        }
        catch (WebApplicationException e)
        {
            throw e;
        }
        catch (Throwable t)
        {
            // Unexpected error.
            throw unexpected("Unexpected error in AuthorizationDecisionHandler", t);
        }
    }
public Response handle(String ticket, String[] claimNames, String[] claimLocales) throws WebApplicationException
    {
        try
        {
            // Process the end-user's decision.
            return process(ticket, claimNames, claimLocales);
        }
        catch (WebApplicationException e)
        {
            throw e;
        }
        catch (Throwable t)
        {
            // Unexpected error.
            throw unexpected("Unexpected error in AuthorizationDecisionHandler", t);
        }
    }
Handle an end-user's decision on an authorization request.

@param ticket
A ticket that was issued by Authlete's {@code /api/auth/authorization} API.

@param claimNames
Names of requested claims. Use the value of the {@code claims}
parameter in a response from Authlete's {@code /api/auth/authorization} API.

@param claimLocales
Requested claim locales. Use the value of the {@code claimsLocales}
parameter in a response from Authlete's {@code /api/auth/authorization} API.

@return
A response to the client application. Basically, the response
will trigger redirection to the client's redirection endpoint.

@throws WebApplicationException
An error occurred.