Sha256: cc144c96f1753b001d02e00ad092271fd27c27467cc50af5092f1b08d054960f

Contents?: true

Size: 648 Bytes

Versions: 2

Compression:

Stored size: 648 Bytes

Contents

= OmniAuth::HttpBasic

OmniAuth stratgies for APIs that have HTTP Basic authentication.

This strategy is intended for developer's convinience, it will NOT set any uid or auth_hash data like a user strategy. So in most cases you need to create your own strategy by subclassing this strategy, and set uid and auth_hash there.

== Use it by subclass

Check https://github.com/janx/omniauth-broadworks for example.

== 

Install manually or using Bundler:

    gem 'omniauth-http-basic'

Add :httpbasic provider to omniauth builder:

    use OmniAuth::Builder do
      provider :httpbasic, "https://example.com/user_info"
      # provider ...
    end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
omniauth-http-basic-1.1.0 README.rdoc
omniauth-http-basic-1.0.0 README.rdoc