Skip to content

apploud/oauth2-spartaid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sparta ID OAuth2 provider

##Usage

$config = [
    'clientId' => 'my-client-id',
    'clientSecret' => 'my-client-secret',
    'redirectUri' => 'https://my-uri.example.com',
    'environment' => Apploud\OAuth2\Client\Provider\SpartaIdEnvironment::DEVELOPMENT, // or CLIENT or STAGING or PRODUCTION 
];

$provider = new Apploud\OAuth2\Client\Provider\SpartaId($config);

Afterwards, use this provider as you would otherwise do, with any other OAuth2 provider from PHPLeague (see docs).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages