Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New api authorization scheme name #61

Merged
merged 2 commits into from
Mar 4, 2024
Merged

Conversation

bkiyakov
Copy link
Collaborator

@bkiyakov bkiyakov commented Mar 4, 2024

https://github.com/mindbox-cloud/issues-cdp/issues/5607

Перевожу на новую схему авторизации по апи.
Подробности

@@ -143,7 +143,7 @@ private function getDeviceUUID()
*/
protected function prepareAuthorizationHeader()
{
return static::SECRET_KEY_NAME . '="' . $this->secretKey . '"';
return static::SECRET_KEY_AUTHORIZATION_SCHEME_NAME . ' ' . $this->secretKey;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

жесткая конкатинация тут
https://www.php.net/manual/en/language.operators.string.php

@bkiyakov bkiyakov merged commit da7b1ce into master Mar 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants