Skip to content

AuthResponse

@blobs/sdk v0.1.0


@blobs/sdk / types/Auth / AuthResponse

Defined in: types/Auth.ts:73

Response returned from auth endpoints (login, register, refresh).

Equivalent in shape to AuthTokens.

Properties

access_token

access_token: string

Defined in: types/Auth.ts:75

Newly minted access token.


refresh_token

refresh_token: string

Defined in: types/Auth.ts:77

Newly minted refresh token.


expires_in

expires_in: number

Defined in: types/Auth.ts:79

Lifetime of access_token in seconds.


token_type

token_type: string

Defined in: types/Auth.ts:81

Token scheme; typically Bearer.


user

user: User

Defined in: types/Auth.ts:83

The authenticated user record.