cubequence/oauth

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP FusionAuth client made for CubeQuence


README

banner.png

Total Downloads Latest Stable Version License

OAuth

PHP FusionAuth client made for CubeQuence

Installation

  1. 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.