cubequence / oauth
PHP FusionAuth client made for CubeQuence
Installs: 4 959
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=8.0.0
- cubequence/request: ^1.0
Requires (Dev)
- nunomaduro/phpinsights: dev-master
- pestphp/pest: ^1.0
- dev-main
- v1.1.2
- v1.1.1
- v1.1
- v1.0.2
- v1.0.1
- v1.0.0
- dev-dependabot/composer/phpunit/phpunit-9.5.27
- dev-dependabot/composer/symfony/console-5.4.16
- dev-dependabot/composer/symfony/cache-6.0.16
- dev-dependabot/composer/symfony/http-client-6.0.16
- dev-dependabot/composer/symfony/string-6.0.15
- dev-dependabot/composer/composer/composer-2.4.4
- dev-dependabot/composer/guzzlehttp/guzzle-7.5.0
- dev-dependabot/composer/symfony/finder-6.0.11
- dev-dependabot/composer/symfony/process-6.0.11
- dev-dependabot/composer/symfony/event-dispatcher-6.0.9
- dev-dependabot/composer/composer/semver-3.3.2
This package is auto-updated.
Last update: 2022-12-20 15:35:17 UTC
README
OAuth
PHP FusionAuth client made for CubeQuence
Installation
composer require cubequence/oauth
Example
Look at the examples
folder
Client Methods
-
constuct
- flowProvider: An flowProvider instance for the required flow
- authorizationServer: FusionAuth instance url
- clientId: Client ID
- clientSecret: Client Secret
-
start
- No Variables, Returns data based on the flowProvider
-
callback
- queryParams: The $_GET object
- storedVar: The stored state or device_code
-
refresh
- refreshToken: Refresh Token returnd by callback or refresh
-
getUser
- accessToken: accessToken returned by callback or refresh
-
logout
- No Vairables, returns logout url
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
The CubeQuence framework is open-sourced software licensed under the MIT license.