Preparing search index...
The search index is not available
@biconomy/account
@biconomy/account
SessionLocalStorage
Class SessionLocalStorage
Implements
ISessionStorage
Index
Constructors
constructor
Properties
smart
Account
Address
Methods
add
Session
Data
add
Signer
clear
Pending
Sessions
get
All
Session
Data
get
Merkle
Root
get
Session
Data
get
Session
Store
get
Signer
By
Key
get
Signer
By
Session
get
Signer
Store
get
Storage
Key
revoke
Sessions
set
Merkle
Root
to
Lowercase
Address
update
Session
Status
validate
Search
Param
Constructors
constructor
new
Session
Local
Storage
(
smartAccountAddress
)
:
SessionLocalStorage
Parameters
smartAccountAddress
:
`
0x
${
string
}
`
Returns
SessionLocalStorage
Properties
smart
Account
Address
smart
Account
Address
:
`
0x
${
string
}
`
Methods
add
Session
Data
add
Session
Data
(
leaf
)
:
Promise
<
void
>
Parameters
leaf
:
SessionLeafNode
Returns
Promise
<
void
>
add
Signer
add
Signer
(
signerData
,
chain
)
:
Promise
<
SmartAccountSigner
<
any
>
>
Parameters
signerData
:
SignerData
chain
:
Chain
Returns
Promise
<
SmartAccountSigner
<
any
>
>
clear
Pending
Sessions
clear
Pending
Sessions
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
get
All
Session
Data
get
All
Session
Data
(
param
?
)
:
Promise
<
SessionLeafNode
[]
>
Parameters
Optional
param
:
SessionSearchParam
Returns
Promise
<
SessionLeafNode
[]
>
get
Merkle
Root
get
Merkle
Root
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
get
Session
Data
get
Session
Data
(
param
)
:
Promise
<
SessionLeafNode
>
Parameters
param
:
SessionSearchParam
Returns
Promise
<
SessionLeafNode
>
Private
get
Session
Store
get
Session
Store
(
)
:
any
Returns
any
get
Signer
By
Key
get
Signer
By
Key
(
sessionPublicKey
,
chain
)
:
Promise
<
SmartAccountSigner
<
any
>
>
Parameters
sessionPublicKey
:
string
chain
:
Chain
Returns
Promise
<
SmartAccountSigner
<
any
>
>
get
Signer
By
Session
get
Signer
By
Session
(
param
,
chain
)
:
Promise
<
SmartAccountSigner
<
any
>
>
Parameters
param
:
SessionSearchParam
chain
:
Chain
Returns
Promise
<
SmartAccountSigner
<
any
>
>
Private
get
Signer
Store
get
Signer
Store
(
)
:
Record
<
string
,
SignerData
>
Returns
Record
<
string
,
SignerData
>
Private
get
Storage
Key
get
Storage
Key
(
type
)
:
string
Parameters
type
:
"sessions"
|
"signers"
Returns
string
revoke
Sessions
revoke
Sessions
(
sessionIDs
)
:
Promise
<
any
[]
>
Parameters
sessionIDs
:
string
[]
Returns
Promise
<
any
[]
>
set
Merkle
Root
set
Merkle
Root
(
merkleRoot
)
:
Promise
<
void
>
Parameters
merkleRoot
:
string
Returns
Promise
<
void
>
Private
to
Lowercase
Address
to
Lowercase
Address
(
address
)
:
string
Parameters
address
:
string
Returns
string
update
Session
Status
update
Session
Status
(
param
,
status
)
:
Promise
<
void
>
Parameters
param
:
SessionSearchParam
status
:
SessionStatus
Returns
Promise
<
void
>
Private
validate
Search
Param
validate
Search
Param
(
param
)
:
void
Parameters
param
:
SessionSearchParam
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
smart
Account
Address
add
Session
Data
add
Signer
clear
Pending
Sessions
get
All
Session
Data
get
Merkle
Root
get
Session
Data
get
Session
Store
get
Signer
By
Key
get
Signer
By
Session
get
Signer
Store
get
Storage
Key
revoke
Sessions
set
Merkle
Root
to
Lowercase
Address
update
Session
Status
validate
Search
Param
@biconomy/account
Loading...