AuthenticationRuleResponse constructor

const AuthenticationRuleResponse({
  1. required Input<bool> allowWithoutCredential,
  2. required Input<OAuthRequirementsResponse> oauth,
  3. required Input<List<AuthRequirementResponse>> requirements,
  4. required Input<String> selector,
})

Creates a new AuthenticationRuleResponse. 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 AuthenticationRuleResponse({
  required this.allowWithoutCredential,
  required this.oauth,
  required this.requirements,
  required this.selector,
});