Skip to content

Commit

Permalink
Merge pull request #22 from gettyimages/ignore_api-key_credentialtype…
Browse files Browse the repository at this point in the history
…_when_getting_auth_details

Handle credential_type api-key getAccessToken
  • Loading branch information
ssterli2 authored Oct 31, 2022
2 parents c6ff3aa + 95a86d4 commit e5fc8a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Credentials.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ public function getAuthenticationDetails() {
$this->credentials["password"]);
}
break;
case "api-key":
return array();
break;
default:
throw new UnknownCredentialTypeException("Not sure what type : ".$credentialType);
}
Expand Down

0 comments on commit e5fc8a2

Please sign in to comment.