omniphx / forrest

A Laravel library for Salesforce
https://omniphx.github.io/forrest/
MIT License
257 stars 120 forks source link

add hasToken method #351

Closed macbookandrew closed 1 month ago

macbookandrew commented 1 month ago

This adds the ability to determine whether a token exists or not (probably useful mostly for Client Credentials auth mechanism for server-side jobs to avoid reauthenticating unnecessarily)

macbookandrew commented 1 month ago

@omniphx in case you missed this

omniphx commented 1 month ago

Sorry for the delay @macbookandrew. Will push out a new version shortly.

Thanks for the contribution!