@resistdesign/voltra
    Preparing search index...

    Type Alias CloudFunctionAuthInfoGetter

    CloudFunctionAuthInfoGetter: (event: any) => AuthInfo | Promise<AuthInfo>

    Resolve authentication information from a raw cloud function event.

    This resolver supplies identity to route authorization; it does not decide whether a request may reach the router. If authentication cannot be resolved, public routes can still run anonymously while protected routes remain subject to their RouteAuthConfig. Use an upstream gateway authorizer when authentication must be enforced before the request reaches routing.

    Type Declaration

      • (event: any): AuthInfo | Promise<AuthInfo>
      • Parameters

        • event: any

          Raw cloud function event object.

        Returns AuthInfo | Promise<AuthInfo>

        Resolved auth info, synchronously or asynchronously.