public CloudUserDetails getUserInfo(String authorization) throws AuthenticationApiException {
        try {
            return authenticationApi.getInfo1(authorization);
        } catch (ApiException e) {
            throw new AuthenticationApiException("Error getting userinfo", e);
        }
    }
public CloudUserDetails getUserInfo ( String authorization ) throws AuthenticationApiException { try { return authenticationApi . getInfo1 ( authorization ) ; } catch ( ApiException e ) { throw new AuthenticationApiException ( "Error getting userinfo" , e ) ; } }
Get user information by access token
Get information about a user by their OAuth 2 access token.

@param authorization The OAuth 2 bearer access token. For example: \&quot;Authorization: bearer a4b5da75-a584-4053-9227-0f0ab23ff06e\&quot;  (required)
@return CloudUserDetails
@throws AuthenticationApiException if the call is unsuccessful.