in sdk/PowerBI.Api/Extensions/Models/Credentials/OAuth2Credentials.cs [18:26]
public OAuth2Credentials(string accessToken)
{
if (string.IsNullOrEmpty(accessToken))
{
throw new ValidationException(ValidationRules.CannotBeNull, ACCESS_TOKEN);
}
this.CredentialData[ACCESS_TOKEN] = accessToken;
}