naftiko: 1.0.0-alpha2 info: label: Citrix StoreFront Web API — Authentication description: 'Citrix StoreFront Web API — Authentication. 3 operations. Lead operation: Citrix Get authentication methods. Self-contained Naftiko capability covering one Citrix business surface.' tags: - Citrix - Authentication created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CITRIX_API_KEY: CITRIX_API_KEY capability: consumes: - type: http namespace: storefront-web-authentication baseUri: https://{storefront-server}/Citrix/Store description: Citrix StoreFront Web API — Authentication business capability. Self-contained, no shared references. resources: - name: Authentication-GetAuthMethods path: /Authentication/GetAuthMethods operations: - name: getauthmethods method: POST description: Citrix Get authentication methods outputRawFormat: json outputParameters: - name: result type: object value: $. - name: ExplicitAuth-Login path: /ExplicitAuth/Login operations: - name: explicitlogin method: POST description: Citrix Log in with explicit credentials outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: ExplicitAuth-Logout path: /ExplicitAuth/Logout operations: - name: explicitlogout method: POST description: Citrix Log out outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Csrf-Token value: '{{env.CITRIX_API_KEY}}' placement: header exposes: - type: rest namespace: storefront-web-authentication-rest port: 8080 description: REST adapter for Citrix StoreFront Web API — Authentication. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/authentication/getauthmethods name: authentication-getauthmethods description: REST surface for Authentication-GetAuthMethods. operations: - method: POST name: getauthmethods description: Citrix Get authentication methods call: storefront-web-authentication.getauthmethods outputParameters: - type: object mapping: $. - path: /v1/explicitauth/login name: explicitauth-login description: REST surface for ExplicitAuth-Login. operations: - method: POST name: explicitlogin description: Citrix Log in with explicit credentials call: storefront-web-authentication.explicitlogin with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/explicitauth/logout name: explicitauth-logout description: REST surface for ExplicitAuth-Logout. operations: - method: POST name: explicitlogout description: Citrix Log out call: storefront-web-authentication.explicitlogout outputParameters: - type: object mapping: $. - type: mcp namespace: storefront-web-authentication-mcp port: 9090 transport: http description: MCP adapter for Citrix StoreFront Web API — Authentication. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: citrix-get-authentication-methods description: Citrix Get authentication methods hints: readOnly: true destructive: false idempotent: false call: storefront-web-authentication.getauthmethods outputParameters: - type: object mapping: $. - name: citrix-log-explicit-credentials description: Citrix Log in with explicit credentials hints: readOnly: false destructive: false idempotent: false call: storefront-web-authentication.explicitlogin with: body: tools.body outputParameters: - type: object mapping: $. - name: citrix-log-out description: Citrix Log out hints: readOnly: false destructive: false idempotent: false call: storefront-web-authentication.explicitlogout outputParameters: - type: object mapping: $.