Paradox · Capability

Paradox API — Authentication

Paradox API — Authentication. 2 operations. Lead operation: Paradox Get OAuth 2.0 access token. Self-contained Naftiko capability covering one Paradox business surface.

Run with Naftiko ParadoxAuthentication

What You Can Do

POST
Getauthtoken — Paradox Get OAuth 2.0 access token
/v1/auth/token
POST
Verifyjwt — Paradox Verify JWT token
/v1/verify-jwt

MCP Tools

paradox-get-oauth-2-0-access

Paradox Get OAuth 2.0 access token

read-only
paradox-verify-jwt-token

Paradox Verify JWT token

Capability Spec

paradox-authentication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Paradox API — Authentication
  description: 'Paradox API — Authentication. 2 operations. Lead operation: Paradox Get OAuth 2.0 access token. Self-contained
    Naftiko capability covering one Paradox business surface.'
  tags:
  - Paradox
  - Authentication
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PARADOX_API_KEY: PARADOX_API_KEY
capability:
  consumes:
  - type: http
    namespace: paradox-authentication
    baseUri: https://api.paradox.ai/api/v1/public
    description: Paradox API — Authentication business capability. Self-contained, no shared references.
    resources:
    - name: auth-token
      path: /auth/token
      operations:
      - name: getauthtoken
        method: POST
        description: Paradox Get OAuth 2.0 access token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: verify-jwt
      path: /verify-jwt
      operations:
      - name: verifyjwt
        method: POST
        description: Paradox Verify JWT token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.PARADOX_API_KEY}}'
  exposes:
  - type: rest
    namespace: paradox-authentication-rest
    port: 8080
    description: REST adapter for Paradox API — Authentication. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/auth/token
      name: auth-token
      description: REST surface for auth-token.
      operations:
      - method: POST
        name: getauthtoken
        description: Paradox Get OAuth 2.0 access token
        call: paradox-authentication.getauthtoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/verify-jwt
      name: verify-jwt
      description: REST surface for verify-jwt.
      operations:
      - method: POST
        name: verifyjwt
        description: Paradox Verify JWT token
        call: paradox-authentication.verifyjwt
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: paradox-authentication-mcp
    port: 9090
    transport: http
    description: MCP adapter for Paradox API — Authentication. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: paradox-get-oauth-2-0-access
      description: Paradox Get OAuth 2.0 access token
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: paradox-authentication.getauthtoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: paradox-verify-jwt-token
      description: Paradox Verify JWT token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: paradox-authentication.verifyjwt
      outputParameters:
      - type: object
        mapping: $.