authClass = $authClass; $this->credentials = $properties; } /** * @return string */ public function getAuthClass() { return $this->authClass; } /** * @return array */ public function getCredentials() { return $this->credentials; } /** * @return array */ public function toArray() { return [ self::AUTH_CLASS => $this->getAuthClass(), self::CREDENTIALS => $this->getCredentials() ]; } }