Interface VortexConfig


public interface VortexConfig
Configuration interface for Vortex Spring integration This interface allows applications to define how users are authenticated and authorized for Vortex operations, matching the pattern from Express SDK.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Represents a user in the Vortex system Supports both new simplified format (userEmail + userIsAutoJoinAdmin) and legacy format (identifiers + groups + role) for backward compatibility.
  • Method Summary

    Modifier and Type
    Method
    Description
    Convert the current request context to a Vortex user This should extract user information from the current HTTP request and return it in the format expected by Vortex JWT generation.
    boolean
    Check if the current user can perform a specific operation
  • Method Details

    • authenticateUser

      VortexConfig.VortexUser authenticateUser()
      Convert the current request context to a Vortex user This should extract user information from the current HTTP request and return it in the format expected by Vortex JWT generation.
      Returns:
      VortexUser representation, or null if not authenticated
    • authorizeOperation

      boolean authorizeOperation(String operation, VortexConfig.VortexUser user)
      Check if the current user can perform a specific operation
      Parameters:
      operation - The operation being performed (JWT, GET_INVITATIONS, etc.)
      user - The authenticated user
      Returns:
      true if authorized, false otherwise