Skip to main content

Module helpers

Module helpers 

Source
Expand description

Bearer auth helpers.

Functionsยง

do_bearer_auth
Create a new BearerAuthRequest, sign it, and send it. Returns the TokenWithExpiration if the auth request succeeds.
token_needs_refresh
Returns true if the token is expired or about to expire.