Authenticate
Validates the client's identity using a configured authentication provider.
Use the Authenticate policy to validate the client’s identity before the request is processed in the assembly. You can require specific scopes or authentication details.
For more information on the policy parameter descriptions, see DataPower Nano Gateway documentation.
Example of an Authenticate policy in code view for MCP
server.
kind: Authenticate
apiVersion: api.ibm.com/v1
metadata:
name: Authenticate-MPM9d
namespace: e47e8275-2ec5-4c06-baaf-136dd64079e0
version: '1.0'
tags: []
labels:
gatewayTypes:
- nano
spec: {}
Example of an Authenticate policy in code view for LLM
provider.kind: Authenticate
apiVersion: api.ibm.com/v1
metadata:
name: Authenticate-p2k4a
namespace: DPNano_Product_LLM_Provider
version: '1.0'
tags: []
domain: ai-platform
labels:
gatewayTypes:
- nano
spec:
namespace: client
operation:
subscription: {}