AuthenticationRule constructor

const AuthenticationRule({
  1. Input<bool>? allowWithoutCredential,
  2. Input<OAuthRequirements>? oauth,
  3. Input<List<AuthRequirement>>? requirements,
  4. Input<String>? selector,
})

Creates a new AuthenticationRule. allowWithoutCredential If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests. oauth The requirements for OAuth credentials. requirements Requirements for additional authentication providers. selector Selects the methods to which this rule applies. Refer to selector for syntax details.

Implementation

const AuthenticationRule({
  this.allowWithoutCredential,
  this.oauth,
  this.requirements,
  this.selector,
});