[SDK reference](../../index.md) / [Models](../index.md) / [Network](index.md)

# ApiTokenValidation

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Network`  

How an API checks tokens (JWT). The platform fetches the issuer's keys through its own safe-egress path; the edge router never does.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Algorithms` | `List<string>?` | `algorithms` | The signature algorithms accepted: ES256, ES384, PS256, PS384, PS512, RS256, RS384, RS512. ES256 and RS256 when omitted. `none` and the HMAC algorithms are never accepted, and an algorithm must fit the key's type (a token cannot use an RSA public key as an HMAC secret). |
| `Audiences` | `List<string>?` | `audiences` | The `aud` values a token may carry, 1 to 10: one of them must be there. |
| `ClaimHeaders` | `Models.Network.ApiTokenValidation_claimHeaders?` | `claimHeaders` | Claim to header: the edge sets the header from the validated claim (a text, a number, a boolean or a list of texts) and takes off any copy a client sent, on every request. At most 10, for example `{"sub": "x-user-id"}`. |
| `ClockSkewSeconds` | `int?` | `clockSkewSeconds` | How far a clock may be off, 0 to 120 seconds; 60 when omitted. |
| `Issuer` | `string?` | `issuer` | The `iss` a token must carry, exactly; at most 256 characters. |
| `JwksUri` | `string?` | `jwksUri` | The https address of the issuer's JWKS (a host name, not an IP address; a public address only). The platform reads it, at most 64 KiB and 20 keys, and again every ten minutes; an unknown key ID is refused, never fetched for. |
