Skip to content

session-key

Session Key Contract Operations

import * as SessionKey from '@filoz/synapse-core/session-key'
NamespaceDescription
authorizationExpiry-
authorizationExpiryCall-
ClassDescription
Secp256k1Key-
InterfaceDescription
Secp256k1SessionKeyCreateOptions-
Secp256k1SessionKeyProps-
SessionKey-
Type AliasDescription
IsExpiredOptions-
LoginOptions-
RevokeOptions-
SessionKeyPermissions-
WalletEvents-
VariableDescription
ALL_PERMISSIONS-
SESSION_KEY_PERMISSIONSSession key permissions type hash map
FunctionDescription
authorizationExpiryGet the authorization expiry timestamp for a session key permission.
authorizationExpiryCallCreate a call to the authorizationExpiry function
getPermissionFromTypeHash-
isExpiredCheck if the session key is expired.
login-
revokeRevoke the session key.