AuthenticationRule
import type { AuthenticationRule } from "https://googleapis.deno.dev/v1/serviceconsumermanagement:v1.ts";
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.
interface AuthenticationRule {
allowWithoutCredential?: boolean;
oauth?: OAuthRequirements;
requirements?: AuthRequirement[];
selector?: string;
}§Properties
§
allowWithoutCredential?: boolean
[src]If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests.
§
oauth?: OAuthRequirements
[src]The requirements for OAuth credentials.
§
requirements?: AuthRequirement[]
[src]Requirements for additional authentication providers.