dev.cheleb.ziotapir.laminar.SecuredContent
A trait to define secured content for Laminar applications.
Type parameters
-
UserToken
-
the type of the user token, which should extend dev.cheleb.ziojwt.WithToken.
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
Members list
The secured content to show when the user is logged in.
The secured content to show when the user is logged in.
Should be overridden to provide custom content.
Value parameters
-
userToken
-
the user token
Attributes
The main component that shows either the secured content or the not logged-in content.
The main component that shows either the secured content or the not logged-in content.
Attributes
An initialization method that is called when the component is mounted.
An initialization method that is called when the component is mounted.
Can be overridden to provide custom initialization logic.
Attributes
The content to show when the user is not logged in.
The content to show when the user is not logged in.
Should be overridden to provide custom content.
Attributes