WebPubSubThrottleByJwtCustomClaimRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Throttle the client connection by a custom JWT claim.
public class WebPubSubThrottleByJwtCustomClaimRule : Azure.ResourceManager.WebPubSub.Models.WebPubSubClientConnectionCountRule, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.WebPubSub.Models.WebPubSubThrottleByJwtCustomClaimRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.WebPubSub.Models.WebPubSubThrottleByJwtCustomClaimRule>
type WebPubSubThrottleByJwtCustomClaimRule = class
inherit WebPubSubClientConnectionCountRule
interface IJsonModel<WebPubSubThrottleByJwtCustomClaimRule>
interface IPersistableModel<WebPubSubThrottleByJwtCustomClaimRule>
Public Class WebPubSubThrottleByJwtCustomClaimRule
Inherits WebPubSubClientConnectionCountRule
Implements IJsonModel(Of WebPubSubThrottleByJwtCustomClaimRule), IPersistableModel(Of WebPubSubThrottleByJwtCustomClaimRule)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| WebPubSubThrottleByJwtCustomClaimRule(String) |
Initializes a new instance of WebPubSubThrottleByJwtCustomClaimRule. |
Properties
| Name | Description |
|---|---|
| ClaimName |
The name of the claim in the JWT token. The client connection with the same claim value will be aggregated. If the claim is not found in the token, the connection will be allowed. |
| MaxCount |
Maximum connection count allowed for the same Jwt claim value. Clients with the same Jwt claim will get rejected if the connection count exceeds this value. Default value is 20. |