Index
Synapse Core - Session Key Contract Operations
Example
Section titled “Example”import * as SessionKey from '@filoz/synapse-core/session-key'Classes
Section titled “Classes”| Class | Description |
|---|---|
| Secp256k1Key | - |
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| Secp256k1SessionKeyCreateOptions | - |
| Secp256k1SessionKeyProps | - |
| SessionKey | - |
Type Aliases
Section titled “Type Aliases”| Type Alias | Description |
|---|---|
| GetExpiryOptions | - |
| IsExpiredOptions | - |
| LoginOptions | - |
| RevokeOptions | - |
| SessionKeyPermissions | - |
| WalletEvents | - |
Variables
Section titled “Variables”| Variable | Description |
|---|---|
| SESSION_KEY_PERMISSIONS | Session key permissions type hash map |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| getExpiry | Check the expiry of the session key. |
| isExpired | Check if the session key is expired. |
| login | - |
| revoke | Revoke the session key. |