private TokenFailResponse callTokenFail(String ticket, TokenFailRequest.Reason reason)
    {
        // Create a request for /api/auth/token/fail API.
        TokenFailRequest request = new TokenFailRequest()
            .setTicket(ticket)
            .setReason(reason);

        try
        {
            // Call Authlete's /api/auth/token/fail API.
            return mApi.tokenFail(request);
        }
        catch (AuthleteApiException e)
        {
            // The API call failed.
            throw apiFailure("/api/auth/token/fail", e);
        }
    }
private TokenFailResponse callTokenFail(String ticket, TokenFailRequest.Reason reason)
    {
        
        TokenFailRequest request = new TokenFailRequest()
            .setTicket(ticket)
            .setReason(reason);

        try
        {
            
            return mApi.tokenFail(request);
        }
        catch (AuthleteApiException e)
        {
            
            throw apiFailure("/api/auth/token/fail", e);
        }
    }
private TokenFailResponse callTokenFail ( String ticket , TokenFailRequest . Reason reason ) { // Create a request for /api/auth/token/fail API. TokenFailRequest request = new TokenFailRequest ( ) . setTicket ( ticket ) . setReason ( reason ) ; try { // Call Authlete's /api/auth/token/fail API. return mApi . tokenFail ( request ) ; } catch ( AuthleteApiException e ) { // The API call failed. throw apiFailure ( "/api/auth/token/fail" , e ) ; } }
Call Authlete's {@code /api/auth/token/fail} API.
Call Authlete s {