quasar/oauth

There is no license information available for the latest version (v1.0.11) of this package.

Quasar OAuth package

v1.0.11 2020-04-27 18:46 UTC

This package is auto-updated.

Last update: 2024-03-28 03:40:30 UTC


README

Total Downloads Latest Stable Version

Quasar is a application that generates a control panel where you can create custom solutions.

Installation

Execute this steps with stand alone installation

1 - After install Laravel framework, execute on console:

composer require quasar/oauth

2 - Execute publish command

php artisan vendor:publish --provider="Quasar\OAuth\OAuthServiceProvider"

3 - Execute migrations and seed database

composer dump-autoload
php artisan migrate
php artisan db:seed --class="OAuthSeeder"

4 - Add graphQL routes to graphql/schema.graphql file

# OAuth
#import ./../vendor/quasar/oauth/src/Quasar/OAuth/GraphQL/enums.graphql
#import ./../vendor/quasar/oauth/src/Quasar/OAuth/GraphQL/inputs.graphql
#import ./../vendor/quasar/oauth/src/Quasar/OAuth/GraphQL/types.graphql

type Query {
    # others imports

    # OAuth
    #import ./../vendor/quasar/oauth/src/Quasar/OAuth/GraphQL/queries.graphql
}

type Mutation {
    # others imports

    # OAuth
    #import ./../vendor/quasar/oauth/src/Quasar/OAuth/GraphQL/mutations.graphql
}