session-key
Session Key Contract Operations
Example
Section titled “Example”import * as SessionKey from '@filoz/synapse-core/session-key'Namespaces
Section titled “Namespaces”| Namespace | Description |
|---|---|
| authorizationExpiry | - |
| authorizationExpiryCall | - |
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 |
|---|---|
| IsExpiredOptions | - |
| LoginOptions | - |
| RevokeOptions | - |
| SessionKeyPermissions | - |
| WalletEvents | - |
Variables
Section titled “Variables”| Variable | Description |
|---|---|
| ALL_PERMISSIONS | - |
| SESSION_KEY_PERMISSIONS | Session key permissions type hash map |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| authorizationExpiry | Get the authorization expiry timestamp for a session key permission. |
| authorizationExpiryCall | Create a call to the authorizationExpiry function |
| getPermissionFromTypeHash | - |
| isExpired | Check if the session key is expired. |
| login | - |
| revoke | Revoke the session key. |