@kronos-integration/service-authentication
authentication providing service
usage
API
Table of Contents
JWTResponse
Type: Object
Properties
-
access_token
string -
refresh_token
string -
token_type
string always "Bearer" -
expires
number seconds the access token is valid
ServiceAuthenticator
Extends Service
changePasswordEndpoints
Endpoints used to send password change requests to.
authEndpoints
Endpoints used to send authentication requests to.
accessTokenGenerator
Generate a request handler to deliver JWT access tokens.
Parameters
Returns JWTResponse jwt
name
Returns string 'authenticator'