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
Currently login checks are done the following way: The token is fetched from the SecurityContext and if it is an instance of UserInterface (from FOSUserBundle).
The most common way is to check the security context for the role IS_FULLY_AUTHENTICATED.
In some cases it might worth to check if the Token holds an instance of UserInterface, but in most cases I don't think it is necessary, checking the special login role is enough.
Currently login checks are done the following way: The token is fetched from the SecurityContext and if it is an instance of UserInterface (from FOSUserBundle).
The most common way is to check the security context for the role
IS_FULLY_AUTHENTICATED
.In some cases it might worth to check if the Token holds an instance of UserInterface, but in most cases I don't think it is necessary, checking the special login role is enough.
/cc @rande
The text was updated successfully, but these errors were encountered: