2.2.0 • Published 10 months ago

adonis5-gigya v2.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Adonis5-Gigya

Service provider for AdonisJs 5

npm-image license-image typescript-image

Gigya service provider for AdonisJs 5. This uses the unofficial SDK of Gigya as there are no official SDK yet. Here are the links for the SDK used: Github and NPM.

Table of contents

Installation

npm i --save adonis5-gigya

Connect all dependences:

node ace invoke adonis5-gigya

Compile your code:

npm run build

For other configuration, please update the config/gigya.ts.

Sample Usage

After loading all providers Gigya service will be initialized. After this you can import Gigya service anywhere in your application in such way:

 import Gigya from '@ioc:Gigya'

Then you will now be able to access the Gigya SDK from here

import Gigya from '@ioc:Gigya'

export default class UserController {
  public async getUser () {
    const user = await Gigya.accounts.getAccountInfo({
      UID: 'UID-OF-THE-USER'
    })
  }
}

For additional details of Gigya SDK, please check the Gigya SDK documentation by this link Gigya docs

2.2.0

10 months ago

2.1.0

10 months ago

2.0.0

10 months ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago