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 was archived by the owner on Oct 4, 2019. It is now read-only.
While most use cases can be resolved using the
<Authorize />component there are some special ones which might require a custom handling.Example:
It is possible to implement these use cases with the existing component, but it seems odd to use
<Authorize neededRoles=[] />in such a case.My proposal is a HOC (Higher Order Component):
Usage:
This HOC could then also be used by the
<Authorize />component itself.