--- title: "Account" slug: "170-manage-account" updated: 2025-12-09T17:22:55Z published: 2025-12-09T18:02:06Z canonical: "docs.developer.comcast.com/170-manage-account" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.developer.comcast.com/llms.txt > Use this file to discover all available pages before exploring further. # Account **Account Module 1.7.0 | Manage SDK** ## Usage To use the Account module, you can import it into your project from the Firebolt SDK: ``` import { Account } from '@firebolt-js/manage-sdk' ``` ## Overview A module for querying about the device account. ## Methods ### session Used by a distributor to push Session token to firebolt. ``` function session(token: Token, expiresIn: Expiry): Promise ``` Parameters: | Param | Type | Required | Description | | --- | --- | --- | --- | | `token` | [`Token`](/docs/170-manage-account#token) | true | | | `expiresIn` | [`Expiry`](/docs/170-manage-account#expiry) | true | minumum: 1 | Promise resolution: Capabilities: | Role | Capability | | --- | --- | | manages | xrn:firebolt:capability:token:account | #### Examples Default Example JavaScript: ``` import { Account } from '@firebolt-js/manage-sdk' let result = await Account.session( 'RmlyZWJvbHQgTWFuYWdlIFNESyBSb2NrcyEhIQ==', 84000, ) console.log(result) ``` Value of `result`: ``` null ``` **JSON-RPC:** Request: ``` { "jsonrpc": "2.0", "id": 1, "method": "Account.session", "params": { "token": "RmlyZWJvbHQgTWFuYWdlIFNESyBSb2NrcyEhIQ==", "expiresIn": 84000 } } ``` Response: ``` { "jsonrpc": "2.0", "id": 1, "result": null } ``` --- ## Types ### Token Encoded token provided by the Distributor for Device Authentication. ``` type Token = string ``` --- ### Expiry Number of secs before the token expires ``` type Expiry = number ``` ---