public UserInfoResponse callUserInfo(String accessToken)
    {
        // Create a request for Authlete's /api/auth/userinfo API.
        UserInfoRequest request = new UserInfoRequest()
            .setToken(accessToken);

        try
        {
            // Call Authlete's /api/auth/userinfo API.
            return mApi.userinfo(request);
        }
        catch (AuthleteApiException e)
        {
            // The API call failed.
            throw apiFailure("/api/auth/userinfo", e);
        }
    }
public UserInfoResponse callUserInfo(String accessToken)
    {
        
        UserInfoRequest request = new UserInfoRequest()
            .setToken(accessToken);

        try
        {
            
            return mApi.userinfo(request);
        }
        catch (AuthleteApiException e)
        {
            
            throw apiFailure("/api/auth/userinfo", e);
        }
    }
public UserInfoResponse callUserInfo ( String accessToken ) { // Create a request for Authlete's /api/auth/userinfo API. UserInfoRequest request = new UserInfoRequest ( ) . setToken ( accessToken ) ; try { // Call Authlete's /api/auth/userinfo API. return mApi . userinfo ( request ) ; } catch ( AuthleteApiException e ) { // The API call failed. throw apiFailure ( "/api/auth/userinfo" , e ) ; } }
Call Authlete's {@code /api/auth/userinfo} API.
Call Authlete s {