src/main/java/com/authlete/jaxrs/AuthleteApiCaller.java
private UserInfoIssueResponse callUserInfoIssue(String accessToken, Map<String, Object> claims)
    {
        // Create a request for /api/auth/userinfo/issue API.
        UserInfoIssueRequest request = new UserInfoIssueRequest()
            .setToken(accessToken);

        if (claims != null && claims.size() != 0)
        {
            request.setClaims(claims);
        }

        try
        {
            // Call Authlete's /api/auth/userinfo/issue API.
            return mApi.userinfoIssue(request);
        }
        catch (AuthleteApiException e)
        {
            // The API call failed.
            throw apiFailure("/api/auth/userinfo/issue", e);
        }
    }
private UserInfoIssueResponse callUserInfoIssue(String accessToken, Map<String, Object> claims)
    {
        // Create a request for /api/auth/userinfo/issue API.
        UserInfoIssueRequest request = new UserInfoIssueRequest()
            .setToken(accessToken);

        if (claims != null && claims.size() != 0)
        {
            request.setClaims(claims);
        }

        try
        {
            // Call Authlete's /api/auth/userinfo/issue API.
            return mApi.userinfoIssue(request);
        }
        catch (AuthleteApiException e)
        {
            // The API call failed.
            throw apiFailure("/api/auth/userinfo/issue", e);
        }
    }
private UserInfoIssueResponse callUserInfoIssue ( String accessToken , Map < String , Object > claims ) { // Create a request for /api/auth/userinfo/issue API. UserInfoIssueRequest request = new UserInfoIssueRequest ( ) . setToken ( accessToken ) ; if ( claims != null && claims . size ( ) != 0 ) { request . setClaims ( claims ) ; } try { // Call Authlete's /api/auth/userinfo/issue API. return mApi . userinfoIssue ( request ) ; } catch ( AuthleteApiException e ) { // The API call failed. throw apiFailure ( "/api/auth/userinfo/issue" , e ) ; } }
Call Authlete's {@code /api/auth/userinfo/issue} API.
Call Authlete s {