Package Exports
- @kronos-integration/service-authenticator
Readme
@kronos-integration/service-authentication
authentication providing service
usage
API
Table of Contents
JWTResponse
Type: Object
Properties
access_tokenstringrefresh_tokenstringtoken_typestring always "Bearer"expiresnumber 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'