public function __construct(IClientAuthenticator $clientAuthenticator, IClientStorage $clientStorage, IAuthorizationCodeStorage $authorizationCodeStorage, IAccessTokenStorage $accessTokenStorage, IScopeResolver $scopeResolver)
 {
     parent::__construct($clientStorage, $scopeResolver);
     $this->clientAuthenticator = $clientAuthenticator;
     $this->authorizationCodeStorage = $authorizationCodeStorage;
     $this->accessTokenStorage = $accessTokenStorage;
 }
Пример #2
0
 public function __construct(IClientStorage $clientStorage, IAccessTokenStorage $accessTokenStorage, IScopeResolver $scopeResolver, ITokenType $tokenType)
 {
     parent::__construct($clientStorage, $scopeResolver);
     $this->accessTokenStorage = $accessTokenStorage;
     $this->tokenType = $tokenType;
 }