Home > @spruceid/ssx-core > SSXExtension
Interface for an extension to SSX.
Signature:
export interface SSXExtension
Property | Modifiers | Type | Description |
---|---|---|---|
namespace? | string | (Optional) [recap] Capability namespace. |
Method | Description |
---|---|
afterConnect(ssx)? | (Optional) Hook to run after SSX has connected to the user's wallet. This can return an object literal to override the session configuration before the user signs in. |
afterSignIn(session)? | (Optional) Hook to run after SSX has signed in. |
defaultActions()? | (Optional) [recap] Default delegated actions in capability namespace. |
extraFields()? | (Optional) [recap] Extra metadata to help validate the capability. |
targetedActions()? | (Optional) [recap] Delegated actions by target in capability namespace. |