class XSUserInfoAdapter implements XSUserInfo {

	@Override
	public String getGivenName() {
		checkNotGrantTypeClientCredentials("getGivenName");
		String externalAttributeName = getExternalAttribute(GIVEN_NAME);
		if (externalAttributeName == null) {
			return getClaimValue(GIVEN_NAME);
		} else {
			return externalAttributeName;
		}
	}

	public  XSUserInfoAdapter(Object accessToken);
	public  XSUserInfoAdapter(AccessToken accessToken);
	  XSUserInfoAdapter(Object accessToken, OAuth2ServiceConfiguration configuration);

}