Nomba · Capability

Nomba Authentication API — Authentication

Nomba Authentication API — Authentication. 3 operations. Lead operation: Obtain access token. Self-contained Naftiko capability covering one Nomba business surface.

Run with Naftiko NombaAuthentication

What You Can Do

POST
Obtainaccesstoken — Obtain access token
/v1/v1/auth/token/issue
POST
Refreshaccesstoken — Refresh an expired token
/v1/v1/auth/token/refresh
POST
Revokeaccesstoken — Revoke an access token
/v1/v1/auth/token/revoke

MCP Tools

obtain-access-token

Obtain access token

refresh-expired-token

Refresh an expired token

revoke-access-token

Revoke an access token

Capability Spec

authentication-authentication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Nomba Authentication API — Authentication
  description: 'Nomba Authentication API — Authentication. 3 operations. Lead operation: Obtain access token. Self-contained
    Naftiko capability covering one Nomba business surface.'
  tags:
  - Nomba
  - Authentication
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NOMBA_API_KEY: NOMBA_API_KEY
capability:
  consumes:
  - type: http
    namespace: authentication-authentication
    baseUri: https://api.nomba.com
    description: Nomba Authentication API — Authentication business capability. Self-contained, no shared references.
    resources:
    - name: v1-auth-token-issue
      path: /v1/auth/token/issue
      operations:
      - name: obtainaccesstoken
        method: POST
        description: Obtain access token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-auth-token-refresh
      path: /v1/auth/token/refresh
      operations:
      - name: refreshaccesstoken
        method: POST
        description: Refresh an expired token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-auth-token-revoke
      path: /v1/auth/token/revoke
      operations:
      - name: revokeaccesstoken
        method: POST
        description: Revoke an access token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.NOMBA_API_KEY}}'
  exposes:
  - type: rest
    namespace: authentication-authentication-rest
    port: 8080
    description: REST adapter for Nomba Authentication API — Authentication. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/auth/token/issue
      name: v1-auth-token-issue
      description: REST surface for v1-auth-token-issue.
      operations:
      - method: POST
        name: obtainaccesstoken
        description: Obtain access token
        call: authentication-authentication.obtainaccesstoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/auth/token/refresh
      name: v1-auth-token-refresh
      description: REST surface for v1-auth-token-refresh.
      operations:
      - method: POST
        name: refreshaccesstoken
        description: Refresh an expired token
        call: authentication-authentication.refreshaccesstoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/auth/token/revoke
      name: v1-auth-token-revoke
      description: REST surface for v1-auth-token-revoke.
      operations:
      - method: POST
        name: revokeaccesstoken
        description: Revoke an access token
        call: authentication-authentication.revokeaccesstoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: authentication-authentication-mcp
    port: 9090
    transport: http
    description: MCP adapter for Nomba Authentication API — Authentication. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: obtain-access-token
      description: Obtain access token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: authentication-authentication.obtainaccesstoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: refresh-expired-token
      description: Refresh an expired token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: authentication-authentication.refreshaccesstoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: revoke-access-token
      description: Revoke an access token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: authentication-authentication.revokeaccesstoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.