supertokens-node
    Preparing search index...

    Interface SessionEvent

    interface SessionEvent {
        body: null | string;
        headers: APIGatewayProxyEventHeaders;
        httpMethod: string;
        isBase64Encoded: boolean;
        multiValueHeaders: APIGatewayProxyEventMultiValueHeaders;
        multiValueQueryStringParameters:
            | null
            | APIGatewayProxyEventMultiValueQueryStringParameters;
        path: string;
        pathParameters: null
        | APIGatewayProxyEventPathParameters;
        queryStringParameters: null | APIGatewayProxyEventQueryStringParameters;
        requestContext: APIGatewayEventRequestContextWithAuthorizer<
            APIGatewayEventDefaultAuthorizerContext,
        >;
        resource: string;
        session?: SessionContainer;
        stageVariables: null
        | APIGatewayProxyEventStageVariables;
        supertokens: {
            response: {
                cookies: string[];
                headers: {
                    allowDuplicateKey: boolean;
                    key: string;
                    value: string | number | boolean;
                }[];
            };
        };
    }

    Hierarchy

    • SupertokensLambdaEvent
      • SessionEvent
    Index

    Properties

    body: null | string
    headers: APIGatewayProxyEventHeaders
    httpMethod: string
    isBase64Encoded: boolean
    multiValueHeaders: APIGatewayProxyEventMultiValueHeaders
    multiValueQueryStringParameters:
        | null
        | APIGatewayProxyEventMultiValueQueryStringParameters
    path: string
    pathParameters: null | APIGatewayProxyEventPathParameters
    queryStringParameters: null | APIGatewayProxyEventQueryStringParameters
    requestContext: APIGatewayEventRequestContextWithAuthorizer<
        APIGatewayEventDefaultAuthorizerContext,
    >
    resource: string
    stageVariables: null | APIGatewayProxyEventStageVariables
    supertokens: {
        response: {
            cookies: string[];
            headers: {
                allowDuplicateKey: boolean;
                key: string;
                value: string | number | boolean;
            }[];
        };
    }