SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias NextAuthFlowResponse

    NextAuthFlowResponse: Message<"soulfire.v1.NextAuthFlowResponse"> & {
        authFlowToken: string;
        next:
            | { case: "emailCode"; value: NextAuthFlowResponse_EmailCode }
            | { case: "success"; value: NextAuthFlowResponse_Success }
            | { case: "failure"; value: NextAuthFlowResponse_Failure }
            | { case: undefined; value?: undefined };
    }

    Response message representing the next step in the authentication flow. This is a polymorphic response that indicates what action should be taken next.

    Type Declaration

    • authFlowToken: string

      A unique token identifying this authentication flow session. This token must be included in subsequent requests (e.g., EmailCodeRequest) to continue the flow. The token is a UUID string and expires after 15 minutes of inactivity.

      from field: string auth_flow_token = 1;

    • next:
          | { case: "emailCode"; value: NextAuthFlowResponse_EmailCode }
          | { case: "success"; value: NextAuthFlowResponse_Success }
          | { case: "failure"; value: NextAuthFlowResponse_Failure }
          | { case: undefined; value?: undefined }

      The next step in the authentication flow. Exactly one of these will be set.

      from oneof soulfire.v1.NextAuthFlowResponse.next

    from message soulfire.v1.NextAuthFlowResponse