dadi / passport

A library for generating access tokens to authenticate with DADI platform components
7 stars 3 forks source link

Add forceTokenRefresh property #31

Closed eduardoboucas closed 7 years ago

eduardoboucas commented 7 years ago

This PR adds a forceTokenRefresh property to the options object received by Passport. When true, it forces Passport to obtain a fresh bearer token from API, even if a supposedly valid token is stored in the wallet.