forked from apoloz/alfa-bank-sdk
feat: Add optional redirectUri and keyNameAlias parameters with null defaults
- Make keyNameAlias parameter optional in SbpConnector with null default - Add redirectUri parameter to AlfaBankServiceProvider configuration - Make keyNameAlias optional in service provider with null coalescing operator - Add conditional check for caBundlePath to allow disabling SSL verification Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@@ -65,7 +65,7 @@ class AlfaBankConnector extends Connector implements HasPagination
|
||||
];
|
||||
|
||||
if ($this->alfaConfig->caBundlePath) {
|
||||
$config['verify'] = $this->alfaConfig->caBundlePath;
|
||||
$config['verify'] = $this->alfaConfig->caBundlePath === 'false' ? false : $this->alfaConfig->caBundlePath;
|
||||
}
|
||||
|
||||
return $config;
|
||||
|
||||
Reference in New Issue
Block a user