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; }
public function __construct(IClientStorage $clientStorage, IAccessTokenStorage $accessTokenStorage, IScopeResolver $scopeResolver, ITokenType $tokenType) { parent::__construct($clientStorage, $scopeResolver); $this->accessTokenStorage = $accessTokenStorage; $this->tokenType = $tokenType; }