Stytch · Schema

api_b2b_session_v1_PrimaryRequired

AuthenticationIdentityPasswordlessSecurityB2BConnected AppsMCPAI AgentsDeveloper Tools

Properties

Name Type Description
allowed_auth_methods array Details the auth method that the member must also complete to fulfill the primary authentication requirements of the Organization. For example, a value of `[magic_link]` indicates that the Member must
View JSON Schema on GitHub

JSON Schema

stytch-api-b2b-session-v1-primaryrequired-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/api_b2b_session_v1_PrimaryRequired",
  "title": "api_b2b_session_v1_PrimaryRequired",
  "type": "object",
  "properties": {
    "allowed_auth_methods": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Details the auth method that the member must also complete to fulfill the primary authentication requirements of the Organization. For example, a value of `[magic_link]` indicates that the Member must also complete a magic link authentication step. If you have an intermediate session token, you must pass it into that primary authentication step."
    }
  },
  "required": [
    "allowed_auth_methods"
  ]
}