You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Not directly, but you could use the error handler. Let's assume you have created a translating function translate_error($locale, $message) then the error handler would be something like:
Problem with translating the message, is that when the message in english changes, there will be no translation and the developer will not know.
When a token expires Firebase\JW\ExpiredException is thrown. From a user(other developer)-view would it not be better to be able to catch the Firebase\JW\ExpiredException instead of handling the "error"-function( "error" => function ($response, $arguments) { ... } )?
I have been using your library for a few years now and I want to thank you for the effort and functionality btw.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Is it possible to modify (translate) the error messages that are generated, for example when not receiving a token?
The text was updated successfully, but these errors were encountered: