auth-vir - v3.1.0
Preparing search index...
storeCsrfToken
Function storeCsrfToken
storeCsrfToken
(
csrfToken
:
Readonly
<
CsrfToken
>
,
options
:
Readonly
<
_RequireExactlyOne
<
{
csrfHeaderName
:
string
;
csrfHeaderPrefix
:
string
}
,
"csrfHeaderPrefix"
|
"csrfHeaderName"
,
>
,
>
&
PartialWithUndefined
<
{
localStorage
:
Pick
<
Storage
,
"setItem"
|
"removeItem"
>
}
,
>
,
)
:
void
Stores the given CSRF token into local storage.
Parameters
csrfToken
:
Readonly
<
CsrfToken
>
options
:
Readonly
<
_RequireExactlyOne
<
{
csrfHeaderName
:
string
;
csrfHeaderPrefix
:
string
}
,
"csrfHeaderPrefix"
|
"csrfHeaderName"
,
>
,
>
&
PartialWithUndefined
<
{
localStorage
:
Pick
<
Storage
,
"setItem"
|
"removeItem"
>
}
,
>
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
auth-vir - v3.1.0
Loading...
Stores the given CSRF token into local storage.