Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.
/ oauth Public archive

PHP FusionAuth client made for CubeQuence

License

Notifications You must be signed in to change notification settings

CubeQuence/oauth

Repository files navigation

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.