@resistdesign/voltra
    Preparing search index...

    Type Alias CognitoAuthInfoConfig

    Configuration for resolving Cognito user-pool authentication directly from a bearer token on the incoming request.

    type CognitoAuthInfoConfig = {
        clientId: string | string[];
        tokenUse: "id" | "access";
        userPoolId: string;
    }
    Index

    Properties

    clientId: string | string[]

    Cognito app client id, or accepted app client ids, for the token.

    tokenUse: "id" | "access"

    Cognito token type that is accepted by this resolver.

    userPoolId: string

    Cognito user pool id that must have issued the token.