Sha256: b7a275f341e94c0da1b3db52e1fc4a9af8c823f65a84cd12138831d2e3da13e4

Contents?: true

Size: 1.77 KB

Versions: 1

Compression:

Stored size: 1.77 KB

Contents

# casino-test_authenticator [![Build Status](https://travis-ci.org/beezly/casino-test_authenticator.png?branch=master)](https://travis-ci.org/beezly/casino-test_authenticator) [![Coverage Status](https://coveralls.io/repos/beezly/casino-test_authenticator/badge.png)](https://coveralls.io/r/beezly/casino-test_authenticator)Provides a test authenticator for [CASino](https://github.com/rbCAS/CASino).

I've written a [blog article](http://beez.ly/2014/05/15/building-a-development-cas-environment-with-casinoapp-and-casino-test_authenticator/) on how to use this with CASinoApp.

The test authenticator will validate a user if the username and password match.

**The test authenticator should only be used in environments where you do not care about security**

To use the test authenticator, configure it in your cas.yml:

    authenticators:
      test_authenticator:
        authenticator: "Test"
        options:

The only option is "mail" which will return a mail attribute containg a fake e-mail address for the user.

## Contributing to casino-test_authenticator

* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
* Fork the project.
* Start a feature/bugfix branch.
* Commit and push until you are happy with your contribution.
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

## Copyright

Copyright (c) 2014 Andrew Beresford. See LICENSE.txt
for further details.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
casino-test_authenticator-1.2.0 README.md