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