Class: Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties
- Inherits:
-
Object
- Object
- Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.rb
Defined Under Namespace
Modules: InvalidReason
Instance Attribute Summary collapse
-
#action ⇒ ::String
Action name provided at token generation.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
The timestamp corresponding to the generation of the token.
-
#hostname ⇒ ::String
The hostname of the page on which the token was generated.
-
#invalid_reason ⇒ ::Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties::InvalidReason
Reason associated with the response when valid = false.
-
#valid ⇒ ::Boolean
Whether the provided user response token is valid.
Instance Attribute Details
#action ⇒ ::String
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 |
# File 'proto_docs/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.rb', line 589 class TokenProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enum that represents the types of invalid token reasons. module InvalidReason # Default unspecified type. INVALID_REASON_UNSPECIFIED = 0 # If the failure reason was not accounted for. UNKNOWN_INVALID_REASON = 1 # The provided user verification token was malformed. MALFORMED = 2 # The user verification token had expired. EXPIRED = 3 # The user verification had already been seen. DUPE = 4 # The user verification token did not match the provided site key. # This may be a configuration error (for example, development keys used in # production) or end users trying to use verification tokens from other # sites. SITE_MISMATCH = 5 # The user verification token was not present. It is a required input. MISSING = 6 # A retriable error (such as network failure) occurred on the browser. # Could easily be simulated by an attacker. BROWSER_ERROR = 7 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 |
# File 'proto_docs/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.rb', line 589 class TokenProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enum that represents the types of invalid token reasons. module InvalidReason # Default unspecified type. INVALID_REASON_UNSPECIFIED = 0 # If the failure reason was not accounted for. UNKNOWN_INVALID_REASON = 1 # The provided user verification token was malformed. MALFORMED = 2 # The user verification token had expired. EXPIRED = 3 # The user verification had already been seen. DUPE = 4 # The user verification token did not match the provided site key. # This may be a configuration error (for example, development keys used in # production) or end users trying to use verification tokens from other # sites. SITE_MISMATCH = 5 # The user verification token was not present. It is a required input. MISSING = 6 # A retriable error (such as network failure) occurred on the browser. # Could easily be simulated by an attacker. BROWSER_ERROR = 7 end end |
#hostname ⇒ ::String
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 |
# File 'proto_docs/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.rb', line 589 class TokenProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enum that represents the types of invalid token reasons. module InvalidReason # Default unspecified type. INVALID_REASON_UNSPECIFIED = 0 # If the failure reason was not accounted for. UNKNOWN_INVALID_REASON = 1 # The provided user verification token was malformed. MALFORMED = 2 # The user verification token had expired. EXPIRED = 3 # The user verification had already been seen. DUPE = 4 # The user verification token did not match the provided site key. # This may be a configuration error (for example, development keys used in # production) or end users trying to use verification tokens from other # sites. SITE_MISMATCH = 5 # The user verification token was not present. It is a required input. MISSING = 6 # A retriable error (such as network failure) occurred on the browser. # Could easily be simulated by an attacker. BROWSER_ERROR = 7 end end |
#invalid_reason ⇒ ::Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties::InvalidReason
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 |
# File 'proto_docs/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.rb', line 589 class TokenProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enum that represents the types of invalid token reasons. module InvalidReason # Default unspecified type. INVALID_REASON_UNSPECIFIED = 0 # If the failure reason was not accounted for. UNKNOWN_INVALID_REASON = 1 # The provided user verification token was malformed. MALFORMED = 2 # The user verification token had expired. EXPIRED = 3 # The user verification had already been seen. DUPE = 4 # The user verification token did not match the provided site key. # This may be a configuration error (for example, development keys used in # production) or end users trying to use verification tokens from other # sites. SITE_MISMATCH = 5 # The user verification token was not present. It is a required input. MISSING = 6 # A retriable error (such as network failure) occurred on the browser. # Could easily be simulated by an attacker. BROWSER_ERROR = 7 end end |
#valid ⇒ ::Boolean
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 |
# File 'proto_docs/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.rb', line 589 class TokenProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enum that represents the types of invalid token reasons. module InvalidReason # Default unspecified type. INVALID_REASON_UNSPECIFIED = 0 # If the failure reason was not accounted for. UNKNOWN_INVALID_REASON = 1 # The provided user verification token was malformed. MALFORMED = 2 # The user verification token had expired. EXPIRED = 3 # The user verification had already been seen. DUPE = 4 # The user verification token did not match the provided site key. # This may be a configuration error (for example, development keys used in # production) or end users trying to use verification tokens from other # sites. SITE_MISMATCH = 5 # The user verification token was not present. It is a required input. MISSING = 6 # A retriable error (such as network failure) occurred on the browser. # Could easily be simulated by an attacker. BROWSER_ERROR = 7 end end |