picolablv / opauth-frype

Opauth strategy for Frype (draugiem.lv) authentication.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Opauth-Frype

Opauth strategy for Frype (draugiem.lv) authentication.

Implemented based on https://www.draugiem.lv/applications/dev/docs/passport/

Getting started

  1. a. Install Opauth-Frype with git:
    cd path_to_opauth/Strategy
    git clone https://github.com/picolablv/opauth-frype.git Frype
  2. b. Install Opauth-Frype with composer. Add to your composer.json:
{
      "require" : {	 
        "opauth/opauth": ">=0.2.0",
        "picolablv/opauth-frype": "dev-master"
      }
    }
  1. Create Frype (Draugiem.lv) passport application at https://www.draugiem.lv/applications/dev/create/

  2. Configure Opauth-Frype strategy with at least App id and App key.

  3. Direct user to http://path_to_opauth/frype to authenticate

Strategy configuration

Required parameters:

<?php
'Frype' => array(
            'app_key' => 'YOUR APP KEY',
            'app_id' => 'YOUR APP ID'
        )

License

Opauth-Frype is MIT Licensed
Copyright © 2014 Andris Šaudinis (http://www.rixtellab.com)

About

Opauth strategy for Frype (draugiem.lv) authentication.

License:MIT License


Languages

Language:PHP 100.0%