Interface NextContext<T>

class: NextContext

  • information of caller's context w/ next-identity.

Type Parameters

Hierarchy

  • NextContext

Properties

accountId?: string

id of aws account number from initial request. (ex: 085403634746 for lemon profile)

clientIp?: string

ip-address of source client.

cookie?: { [key: string]: string }

cookie string of origin request

Type declaration

  • [key: string]: string
depth?: number

calling depth for every handler. ( automatically increased from lambda-handler )

domain?: string

domain name of request.

identity?: T

user identity after authentication.

requestId?: string

id of request to keep track of timing infor w/ metrics

source?: string

origin event source. can be 'express' if npm run express.local.

userAgent?: string

user-agent of source client.

Generated using TypeDoc