Class: Google::Api::AuthenticationRule
- Inherits:
-
Object
- Object
- Google::Api::AuthenticationRule
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/auth.rb
Overview
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.
Instance Attribute Summary collapse
-
#allow_without_credential ⇒ ::Boolean
If true, the service accepts API keys without any other credential.
-
#oauth ⇒ ::Google::Api::OAuthRequirements
The requirements for OAuth credentials.
-
#requirements ⇒ ::Array<::Google::Api::AuthRequirement>
Requirements for additional authentication providers.
-
#selector ⇒ ::String
Selects the methods to which this rule applies.
Instance Attribute Details
#allow_without_credential ⇒ ::Boolean
Returns If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests.
78 79 80 81 |
# File 'proto_docs/google/api/auth.rb', line 78 class AuthenticationRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#oauth ⇒ ::Google::Api::OAuthRequirements
Returns The requirements for OAuth credentials.
78 79 80 81 |
# File 'proto_docs/google/api/auth.rb', line 78 class AuthenticationRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#requirements ⇒ ::Array<::Google::Api::AuthRequirement>
Returns Requirements for additional authentication providers.
78 79 80 81 |
# File 'proto_docs/google/api/auth.rb', line 78 class AuthenticationRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |