2017 © Pedro Peláez
 

library codeception-module-http-auth

A Codeception module for passing HTTP authentication.

image

ixis/codeception-module-http-auth

A Codeception module for passing HTTP authentication.

  • Thursday, July 30, 2015
  • by pfaocle
  • Repository
  • 5 Watchers
  • 0 Stars
  • 174 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Http Auth - Codeception module

A Codeception module for passing HTTP authentication

Build Status, (*1)

This simple Codeception module allows PhpBrowser to automatically pass HTTP authentication based on configuration., (*2)

Install with Composer and Packagist

{
    "require": {
        "codeception/codeception": "1.8.*",
        "ixis/codeception-module-http-auth": "dev-master"
    }
}

Example suite configuration

modules:
    enabled:
        - PhpBrowser
        - HttpAuth
    config:
        PhpBrowser:
            url: 'http://example.com/protected/'
        HttpAuth:
            username: user
            password: password

Codeception 2

This module isn't useful for Codeception 2.x, as HTTP authentication can be configured in PhpBrowser directly:, (*3)

modules:
    enabled:
        - PhpBrowser
    config:
        PhpBrowser:
            url: 'http://example.com/protected/'
            auth: ['testuser', 'testpassword']

The Versions

30/07 2015

dev-master

9999999-dev

A Codeception module for passing HTTP authentication.

  Sources   Download

MIT

The Requires

  • php >=5.4.0