naftiko: 1.0.0-alpha2 info: label: Auth0 API — Device Flow description: 'Auth0 API — Device Flow. 1 operations. Lead operation: Auth0 Get Device Code. Self-contained Naftiko capability covering one Auth0 business surface.' tags: - Auth0 - Device Flow created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AUTH0_API_KEY: AUTH0_API_KEY capability: consumes: - type: http namespace: auth0-device-flow baseUri: '' description: Auth0 API — Device Flow business capability. Self-contained, no shared references. resources: - name: oauth-device-code path: /oauth/device/code operations: - name: oauthdevicecode method: POST description: Auth0 Get Device Code outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: auth0-device-flow-rest port: 8080 description: REST adapter for Auth0 API — Device Flow. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/oauth/device/code name: oauth-device-code description: REST surface for oauth-device-code. operations: - method: POST name: oauthdevicecode description: Auth0 Get Device Code call: auth0-device-flow.oauthdevicecode with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: auth0-device-flow-mcp port: 9090 transport: http description: MCP adapter for Auth0 API — Device Flow. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: auth0-get-device-code description: Auth0 Get Device Code hints: readOnly: true destructive: false idempotent: false call: auth0-device-flow.oauthdevicecode with: body: tools.body outputParameters: - type: object mapping: $.