AuthenticationRuleResponse constructor
const
AuthenticationRuleResponse({
- required Input<
bool> allowWithoutCredential, - required Input<
OAuthRequirementsResponse> oauth, - required Input<
List< requirements,AuthRequirementResponse> > - 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,
});