passport-token-introspection
v1.0.2
Published
Passport strategy for authenticating when using a token instrospection endpoint.
Readme
Passport Token Introspection Strategy
It will expect:
- token: the value of the token.
- token_type_hint:
access_tokenorrefresh_token. This is optional. - id: Id of the Resource Server making the call.
- secret: Password of the Resource Server making the call.
id and secret will be passed to the verify function.
It's written in Typescript so if your library it's also using it you will be getting typings for free.
npm i -S passport-token-introspection