| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class OauthDependencyProvider extends SprykerOauthDependencyProvider |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @return array<\Spryker\Client\OauthExtension\Dependency\Plugin\KeyLoaderPluginInterface> |
||
| 19 | */ |
||
| 20 | protected function getKeyLoaderPlugins(): array |
||
| 24 | ]; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return array<\Spryker\Client\OauthExtension\Dependency\Plugin\AuthorizationValidatorPluginInterface> |
||
| 29 | */ |
||
| 30 | protected function getAuthorizationValidatorPlugins(): array |
||
| 31 | { |
||
| 32 | return [ |
||
| 33 | new BearerTokenAuthorizationValidatorPlugin(), |
||
| 34 | ]; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return array<\Spryker\Client\OauthExtension\Dependency\Plugin\AccessTokenValidatorPluginInterface> |
||
| 39 | */ |
||
| 40 | protected function getAccessTokenValidatorPlugins(): array |
||
| 44 | ]; |
||
| 45 | } |
||
| 47 |