public sealed class AuthenticationRule : IMessage<AuthenticationRule>, IEquatable<AuthenticationRule>, IDeepCloneable<AuthenticationRule>, IBufferMessage, IMessage
Authentication rules for the service.
By default, if a method has any authentication requirements, every request
must include a valid credential matching one of the requirements.
It's an error to include more than one kind of credential in a single
request.
If a method doesn't have any auth requirements, request credentials will be
ignored.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["The `AuthenticationRule` class defines authentication requirements for a service, controlling how requests are authenticated."],["By default, methods with authentication requirements mandate a valid credential in each request, allowing only one credential type per request."],["If a method has no authentication requirements, any included credentials will be ignored."],["The class provides properties like `AllowWithoutCredential`, `Oauth`, and `Requirements` to configure specific authentication behaviors and fields including `AllowWithoutCredentialFieldNumber`, `OauthFieldNumber`, `RequirementsFieldNumber` and `SelectorFieldNumber`."],["`AuthenticationRule` implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, offering methods for object comparison, deep cloning, and message manipulation."]]],[]]