alexziskind1 / nativescript-oauth2

Other
85 stars 93 forks source link

(fix) refreshTokenWithCompletion does not complete if the variables this.provider.tokenEndpoint or this.tokenResult do not exist #192

Closed erodriguezh closed 2 years ago

erodriguezh commented 2 years ago

PR Checklist

What is the current behavior?

The Promise returned by the function refreshTokenWithCompletion does not complete if the variables this.provider.tokenEndpoint or this.tokenResult do not exist.

More details in the issue #191

What is the new behavior?

The Promise returned by the function refreshTokenWithCompletion will complete with an error if the variables this.provider.tokenEndpoint or this.tokenResult do not exist.

Fixes/Closes #191

alexziskind1 commented 2 years ago

Thanks!