Skip to content

API Reference


API Reference / RawTokenResponse

Interface: RawTokenResponse ​

Defined in: src/auth/TokenResponse.ts:4

Raw token payload, as returned by the auth endpoints.

Indexable ​

[key: string]: unknown

Properties ​

dhanClientId? ​

optional dhanClientId?: string

Defined in: src/auth/TokenResponse.ts:5


dhanClientName? ​

optional dhanClientName?: string

Defined in: src/auth/TokenResponse.ts:6


dhanClientUcc? ​

optional dhanClientUcc?: string

Defined in: src/auth/TokenResponse.ts:7


givenPowerOfAttorney? ​

optional givenPowerOfAttorney?: boolean

Defined in: src/auth/TokenResponse.ts:8


accessToken? ​

optional accessToken?: string

Defined in: src/auth/TokenResponse.ts:9


expiryTime? ​

optional expiryTime?: string

Defined in: src/auth/TokenResponse.ts:10


access_token? ​

optional access_token?: string

Defined in: src/auth/TokenResponse.ts:12

Some responses use snake_case; both spellings are accepted.


expiry_time? ​

optional expiry_time?: string

Defined in: src/auth/TokenResponse.ts:13

Community project — not affiliated with Dhan. MIT License.