--- title: "Account" slug: "100-manage-account" updated: 2025-05-27T18:16:28Z published: 2025-05-27T18:16:28Z canonical: "docs.developer.comcast.com/100-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.0.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: string, expiresIn: number): Promise ``` Parameters: | Param | Type | Required | Description | | --- | --- | --- | --- | | `token` | `string` | true | | | , | `expiresIn` | `number` | true | Promise resolution: ``` void ``` Capabilities: | Role | Capability | | --- | --- | | manages | xrn:firebolt:capability:token:account | #### Examples Default Example JavaScript: ``` import { Account } from '@firebolt-js/manage-sdk' Account.session("RmlyZWJvbHQgTWFuYWdlIFNESyBSb2NrcyEhIQ==", 84000) .then(result => { 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 ``` ---