PHP FusionAuth client made for CubeQuence
composer require cubequence/oauth
Look at the examples
folder
-
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
Please review our security policy on how to report security vulnerabilities.
The CubeQuence framework is open-sourced software licensed under the MIT license.