Content to render when access is allowed.
OptionalfallbackContent to render when the user is not authenticated.
OptionalgroupsGroups required to view the protected content. By default, the user must belong to any of the specified groups.
OptionalgroupsName of the claim that contains groups in the user profile.
OptionalmatchIf true, the user must belong to all specified groups (instead of any).
OptionalonRendered when the user is authenticated but does not meet the groups requirement. If omitted, nothing is rendered (or fallback is used only for unauthenticated users).
Props for the
<Protected />component.