@wharfkit/session - v4.0.1
    Preparing search index...

    Interface SessionKeyConfig

    Configuration options for session key functionality.

    interface SessionKeyConfig {
        fetchPermission?: (
            client: APIClient,
            account: Name,
            permission: Name,
        ) => Promise<AccountPermission | undefined>;
        permission?: NameType;
        skipConsent?: boolean;
        whitelist: SessionKeyWhitelistInput[];
    }

    Hierarchy (View Summary)

    Index
    fetchPermission?: (
        client: APIClient,
        account: Name,
        permission: Name,
    ) => Promise<AccountPermission | undefined>

    Optional custom function to fetch permission data from the blockchain. Defaults to v1.chain.get_account.

    permission?: NameType

    Optional custom permission name. If not provided, will be auto-generated from app name.

    skipConsent?: boolean

    Skip showing consent UI to user during setup. Default is false.

    List of contracts and actions that the session key is authorized to sign.