public static function create($userIdentifier, $secretKey, $logger = null)
    {
        $client = self::initializeHttpClient(self::ENDPOINT_URL);

        return new self($userIdentifier, $secretKey, $client, $logger);
    }
public static function create($userIdentifier, $secretKey, $logger = null)
    {
        $client = self::initializeHttpClient(self::ENDPOINT_URL);

        return new self($userIdentifier, $secretKey, $client, $logger);
    }
public static function create ( $ userIdentifier , $ secretKey , $ logger = null ) { $ client = self :: initializeHttpClient ( self :: ENDPOINT_URL ) ; return new self ( $ userIdentifier , $ secretKey , $ client , $ logger ) ; }
Creates and returns instance of AuthTokenProvider

@param string $userIdentifier
@param string $secretKey
@param LoggerInterface $logger

@return AuthTokenProvider
Creates and returns instance of AuthTokenProvider