LinkSession
Type describing a anchorLink session that can create a eosjs compatible signature provider and transact for a specific auth.
Summary
Members | Descriptions |
---|---|
| The underlying anchorLink instance used by the session. |
| App identifier that owns the session. |
| The public key the session can sign for. |
| The EOSIO auth (a.k.a. permission level) the session can sign for. |
| Arbitrary metadata that will be serialized with the session. |
| Creates a eosjs compatible signature provider that can sign for the session public key. |
| Transact using this session. See [[AnchorLink.transact]]. |
| Returns a JSON-encodable object that can be used recreate the session. |
| Convenience, remove this session from associated [[AnchorLink]] storage if set. Equivalent to: |
| Restore a previously serialized session. |
Members
public abstract
AnchorLink
AnchorLink
The underlying anchorLink instance used by the session.
public abstract string
Identifier
App identifier that owns the session.
public abstract string
PublicKey
The public key the session can sign for.
public abstract EosSharp.Core.Api.v1.PermissionLevel
Auth
The EOSIO auth (a.k.a. permission level) the session can sign for.
public abstract Dictionary< string, object >
Metadata
Arbitrary metadata that will be serialized with the session.
public abstract LinkSignatureProvider
MakeSignatureProvider
()
Creates a eosjs compatible signature provider that can sign for the session public key.
public abstract Task<
TransactResult
>
Transact
(
TransactArgs
args,
TransactOptions
options)
Transact using this session. See [[AnchorLink.transact]].
public abstract
SerializedLinkSession
Serialize
()
Returns a JSON-encodable object that can be used recreate the session.
public async Task
Remove
()
Convenience, remove this session from associated [[AnchorLink]] storage if set. Equivalent to:
public static
LinkSession
Restore
(
AnchorLink
anchorLink,
SerializedLinkSession
data)
Restore a previously serialized session.
Last updated