4.0.0 • Published 5 years ago

@datafire/personio_de_authentication v4.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/personio_de_authentication

Client library for Authentication

Installation and Usage

npm install --save @datafire/personio_de_authentication
let personio_de_authentication = require('@datafire/personio_de_authentication').create();

.then(data => {
  console.log(data);
});

Description

Personio Authentication API

Actions

auth.post

Request Authentication Token

personio_de_authentication.auth.post({
  "client_id": "",
  "client_secret": ""
}, context)

Input

  • input object
    • client_id required string: Client id of the downloaded credentials file
    • client_secret required string: Client secret of the downloaded credentials file

Output

Definitions

AuthenticationTokenResponse

  • Request Authentication Token response
    • data required object
    • success required boolean
    • data object
      • token required string

Response

  • Default response object object
    • data required object
    • success required boolean