Nested Parenthetical Madness

    validate-social-access-tokens

    0.1.0 • Public • Published

    validate-social-access-tokens Build Status

    A simple module that let's you validate access tokens from social logins

    Install

    $ npm install --save validate-social-access-tokens
    

    Usage

    validateSocialAccessTokens = require('validate-social-access-tokens');
     
    validateSocialAccessTokens(<token>, <provider>).then(function(response) {
      //token valid
    }).catch(function(error) {
      //token not valid or error occured
      //handle error
    });

    API

    validateSocialAccessTokens(token, provider)

    token

    Type: string

    provider

    Providers supported includes Facebook and Google, others are coming soon.

    License

    MIT © Abimbola Idowu

    Keywords

    none

    Install

    npm i validate-social-access-tokens

    DownloadsWeekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • hisabimbola