2017 © Pedro Peláez
 

library opauth-saml

SAML strategy for Opauth

image

flexcoders/opauth-saml

SAML strategy for Opauth

  • Thursday, July 9, 2015
  • by WanWizard
  • Repository
  • 2 Watchers
  • 0 Stars
  • 33 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Opauth-Ldap

[Opauth][1] strategy for SAML authentication., (*1)

Opauth is a multi-provider authentication framework for PHP., (*2)

Under development, do not use.

Getting started

  1. Install Opauth-Ldap:, (*3)

    cd path_to_opauth/Strategy
    git clone git://github.com/flexcoders/opauth-saml.git saml
    
  2. Configure Opauth-Saml strategy., (*4)

  3. Call it., (*5)

You call it like so:, (*6)

// some input vars
$providerName = "Saml";

// prep a config
$config = [
    'provider' => $providerName,
    'username' => $_POST['username'],
    'password' => $_POST['password'],
    'request_uri' => '/current/uri/'.strtolower($providerName),
    'callback_url' => '/your/uri/for/callback/'.strtolower($providerName),
];

// construct the Opauth object
$this->opauth = new \Opauth($config, true);

It will attempt an SAML login, and then redirect to the callback url, just like with all other Opauth strategies, and with a similar response., (*7)

Strategy configuration

Required parameters:, (*8)

<?php
'Saml' => array(
)

References

License

Opauth-Ldap is MIT Licensed Copyright © 2015 FlexCoders Ltd (http://flexcoders.co.uk), (*9)

The Versions

09/07 2015

dev-tmp

dev-tmp http://flexcoders.co.uk

SAML strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication saml auth

01/07 2015

dev-master

9999999-dev http://flexcoders.co.uk

SAML strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication saml auth