Padloc Logo Docs & Resources

Interface: Context

server.Context

Request context

Properties

account

Optional account: Account

Account associated with current session

Defined in

core/src/server.ts:103


auth

Optional auth: Auth

Auth associated with current session

Defined in

core/src/server.ts:106


device

Optional device: DeviceInfo

Information about the device the request is coming from

Defined in

core/src/server.ts:112


location

Optional location: Object

Type declaration

Name Type
city? string
country? string

Defined in

core/src/server.ts:114


provisioning

Optional provisioning: Provisioning

Auth associated with current session

Defined in

core/src/server.ts:109


session

Optional session: Session

Current Session

Defined in

core/src/server.ts:100