vapor-chamber API reference - v1.3.0
Repo
Performance
Roadmap
Laravel integration
Preparing search index...
index
authGuard
Function authGuard
authGuard
(
options
:
{
isAuthenticated
:
()
=>
boolean
;
protected
:
string
[]
;
onUnauthenticated
?:
(
cmd
:
Command
)
=>
void
;
}
,
)
:
Plugin
Auth guard plugin - blocks protected commands when not authenticated.
Parameters
options
:
{
isAuthenticated
:
()
=>
boolean
;
protected
:
string
[]
;
onUnauthenticated
?:
(
cmd
:
Command
)
=>
void
;
}
Returns
Plugin
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Repo
Performance
Roadmap
Laravel integration
vapor-chamber API reference - v1.3.0
Loading...
Auth guard plugin - blocks protected commands when not authenticated.