nhost.auth.onTokenChanged
to add a custom function that runs every time the access or refresh token is changed.
Parameters
fn required
OnTokenChangedFunction
nhost.auth.onTokenChanged
to add a custom function that runs every time the access or refresh token is changed.
OnTokenChangedFunction