Skip to content

PHP OAuth2 Provider for LIG Unified Account Service

Notifications You must be signed in to change notification settings

liginc/unias-client-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unias PHP Client

LIG Unified Account Service OAuth 2.0 Client Provider for The PHP League OAuth2-Client.

Requirements

  • PHP >= 7.0

Usage

Installation

composer require liginc/unias-client-php

Setting up a new client

new UniasProvider([
    'clientId'     => 'XXXXXXXXXXXXXXXXXXXX',
    'clientSecret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
    'redirectUri'  => 'https://yourservice.example.com/login/callback',
    'authorizeUri' => 'https://unias.example.com/',
    'tokenUri'     => 'https://api.unias.example.com/token',
    'apiBaseUri'   => 'https://api.example.com/',
]);

Parameters

Library Documentation

This is a plug-in provider of the PHP League's OAuth 2.0 Client, so we suggest you to refer to the library documentation for detailed usage.

About

PHP OAuth2 Provider for LIG Unified Account Service

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages