Class TokenCondition
- Namespace
- Cloudflare.NET.ApiTokens.Models
- Assembly
- Cloudflare.NET.dll
IP-based access conditions for a token.
Conditions allow restricting token usage based on the source IP address of the API request.
public record TokenCondition : IEquatable<TokenCondition>
- Inheritance
-
TokenCondition
- Implements
- Inherited Members
Constructors
TokenCondition(TokenIpCondition?)
IP-based access conditions for a token.
Conditions allow restricting token usage based on the source IP address of the API request.
public TokenCondition(TokenIpCondition? RequestIp = null)
Parameters
RequestIpTokenIpConditionIP address restrictions.
Properties
RequestIp
IP address restrictions.
[JsonPropertyName("request_ip")]
public TokenIpCondition? RequestIp { get; init; }