google-apis-identitytoolkit_v1 0.15.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9475c94c2d268f9ca79dfefbceba3958ffd9175a4d14cb601f1f9cfd5530c06
|
4
|
+
data.tar.gz: 5ac39415f1bce9c98ffee75f2ddc6c886c3f48450577e7c1ee8edd8700f9dc90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c235b0f7633e5f5fe0b21e352b33b1fd4f83a08f486b2073e807dcb99ddddca6ab55325c8088d26b5e62a7297d7a9fa3030d4650d779c0362015c3cde70a205f
|
7
|
+
data.tar.gz: 35d0dd3dafe1b4afee8c4e2c5ff02ebbad68ed1e6a3f6f438b4fdbf8895cb28a5ce147454000f341b2cbaf0aa228f54281530d592575a175532221f572bc17ff
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-identitytoolkit_v1
|
2
2
|
|
3
|
+
### v0.17.0 (2024-12-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241024
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.16.0 (2024-05-19)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.15.0
|
11
|
+
|
3
12
|
### v0.15.0 (2024-04-28)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240417
|
@@ -1722,10 +1722,11 @@ module Google
|
|
1722
1722
|
end
|
1723
1723
|
end
|
1724
1724
|
|
1725
|
-
# Request message for SendVerificationCode.
|
1726
|
-
#
|
1727
|
-
#
|
1728
|
-
#
|
1725
|
+
# Request message for SendVerificationCode. 'captcha_response' is required when
|
1726
|
+
# reCAPTCHA enterprise is enabled, or otherwise at least one of (`ios_receipt`
|
1727
|
+
# and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified
|
1728
|
+
# to verify the verification code is being sent on behalf of a real app and not
|
1729
|
+
# an emulator.
|
1729
1730
|
class GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest
|
1730
1731
|
include Google::Apis::Core::Hashable
|
1731
1732
|
|
@@ -1734,12 +1735,25 @@ module Google
|
|
1734
1735
|
# @return [Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1AutoRetrievalInfo]
|
1735
1736
|
attr_accessor :auto_retrieval_info
|
1736
1737
|
|
1738
|
+
# Optional. The reCAPTCHA Enterprise token provided by the reCAPTCHA client-side
|
1739
|
+
# integration. Required when reCAPTCHA enterprise is enabled.
|
1740
|
+
# Corresponds to the JSON property `captchaResponse`
|
1741
|
+
# @return [String]
|
1742
|
+
attr_accessor :captcha_response
|
1743
|
+
|
1744
|
+
# Optional. The client type, web, android or ios. Required when reCAPTCHA
|
1745
|
+
# Enterprise is enabled.
|
1746
|
+
# Corresponds to the JSON property `clientType`
|
1747
|
+
# @return [String]
|
1748
|
+
attr_accessor :client_type
|
1749
|
+
|
1737
1750
|
# Receipt of successful iOS app token validation. At least one of (`ios_receipt`
|
1738
1751
|
# and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified
|
1739
1752
|
# to verify the verification code is being sent on behalf of a real app and not
|
1740
|
-
# an emulator
|
1741
|
-
#
|
1742
|
-
# the `
|
1753
|
+
# an emulator, if 'captcha_response' is not used (reCAPTCHA enterprise is not
|
1754
|
+
# enabled). This should come from the response of verifyIosClient. If present,
|
1755
|
+
# the caller should also provide the `ios_secret`, as well as a bundle ID in the
|
1756
|
+
# `x-ios-bundle-identifier` header, which must match the bundle ID from the
|
1743
1757
|
# verifyIosClient request.
|
1744
1758
|
# Corresponds to the JSON property `iosReceipt`
|
1745
1759
|
# @return [String]
|
@@ -1760,7 +1774,8 @@ module Google
|
|
1760
1774
|
# token (and safety_net_token). At least one of (`ios_receipt` and `ios_secret`),
|
1761
1775
|
# `recaptcha_token`, , or `play_integrity_token` must be specified to verify
|
1762
1776
|
# the verification code is being sent on behalf of a real app and not an
|
1763
|
-
# emulator
|
1777
|
+
# emulator, if 'captcha_response' is not used (reCAPTCHA enterprise is not
|
1778
|
+
# enabled). A Play Integrity Token can be generated via the [PlayIntegrity API](
|
1764
1779
|
# https://developer.android.com/google/play/integrity) with applying SHA256 to
|
1765
1780
|
# the `phone_number` field as the nonce.
|
1766
1781
|
# Corresponds to the JSON property `playIntegrityToken`
|
@@ -1770,20 +1785,28 @@ module Google
|
|
1770
1785
|
# Recaptcha token for app verification. At least one of (`ios_receipt` and `
|
1771
1786
|
# ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified to
|
1772
1787
|
# verify the verification code is being sent on behalf of a real app and not an
|
1773
|
-
# emulator
|
1788
|
+
# emulator, if 'captcha_response' is not used (reCAPTCHA enterprise is not
|
1789
|
+
# enabled). The recaptcha should be generated by calling getRecaptchaParams and
|
1774
1790
|
# the recaptcha token will be generated on user completion of the recaptcha
|
1775
1791
|
# challenge.
|
1776
1792
|
# Corresponds to the JSON property `recaptchaToken`
|
1777
1793
|
# @return [String]
|
1778
1794
|
attr_accessor :recaptcha_token
|
1779
1795
|
|
1796
|
+
# Optional. The reCAPTCHA version of the reCAPTCHA token in the captcha_response.
|
1797
|
+
# Required when reCAPTCHA Enterprise is enabled.
|
1798
|
+
# Corresponds to the JSON property `recaptchaVersion`
|
1799
|
+
# @return [String]
|
1800
|
+
attr_accessor :recaptcha_version
|
1801
|
+
|
1780
1802
|
# Android only. Used to assert application identity in place of a recaptcha
|
1781
1803
|
# token. At least one of (`ios_receipt` and `ios_secret`), `recaptcha_token`, or
|
1782
1804
|
# `safety_net_token` must be specified to verify the verification code is being
|
1783
|
-
# sent on behalf of a real app and not an emulator
|
1784
|
-
#
|
1785
|
-
#
|
1786
|
-
# the
|
1805
|
+
# sent on behalf of a real app and not an emulator, if 'captcha_response' is not
|
1806
|
+
# used (reCAPTCHA enterprise is not enabled). A SafetyNet Token can be generated
|
1807
|
+
# via the [SafetyNet Android Attestation API](https://developer.android.com/
|
1808
|
+
# training/safetynet/attestation.html), with the Base64 encoding of the `
|
1809
|
+
# phone_number` field as the nonce.
|
1787
1810
|
# Corresponds to the JSON property `safetyNetToken`
|
1788
1811
|
# @return [String]
|
1789
1812
|
attr_accessor :safety_net_token
|
@@ -1800,11 +1823,14 @@ module Google
|
|
1800
1823
|
# Update properties of this object
|
1801
1824
|
def update!(**args)
|
1802
1825
|
@auto_retrieval_info = args[:auto_retrieval_info] if args.key?(:auto_retrieval_info)
|
1826
|
+
@captcha_response = args[:captcha_response] if args.key?(:captcha_response)
|
1827
|
+
@client_type = args[:client_type] if args.key?(:client_type)
|
1803
1828
|
@ios_receipt = args[:ios_receipt] if args.key?(:ios_receipt)
|
1804
1829
|
@ios_secret = args[:ios_secret] if args.key?(:ios_secret)
|
1805
1830
|
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
1806
1831
|
@play_integrity_token = args[:play_integrity_token] if args.key?(:play_integrity_token)
|
1807
1832
|
@recaptcha_token = args[:recaptcha_token] if args.key?(:recaptcha_token)
|
1833
|
+
@recaptcha_version = args[:recaptcha_version] if args.key?(:recaptcha_version)
|
1808
1834
|
@safety_net_token = args[:safety_net_token] if args.key?(:safety_net_token)
|
1809
1835
|
@tenant_id = args[:tenant_id] if args.key?(:tenant_id)
|
1810
1836
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module IdentitytoolkitV1
|
18
18
|
# Version of the google-apis-identitytoolkit_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241024"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -798,11 +798,14 @@ module Google
|
|
798
798
|
class Representation < Google::Apis::Core::JsonRepresentation
|
799
799
|
property :auto_retrieval_info, as: 'autoRetrievalInfo', class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1AutoRetrievalInfo, decorator: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1AutoRetrievalInfo::Representation
|
800
800
|
|
801
|
+
property :captcha_response, as: 'captchaResponse'
|
802
|
+
property :client_type, as: 'clientType'
|
801
803
|
property :ios_receipt, as: 'iosReceipt'
|
802
804
|
property :ios_secret, as: 'iosSecret'
|
803
805
|
property :phone_number, as: 'phoneNumber'
|
804
806
|
property :play_integrity_token, as: 'playIntegrityToken'
|
805
807
|
property :recaptcha_token, as: 'recaptchaToken'
|
808
|
+
property :recaptcha_version, as: 'recaptchaVersion'
|
806
809
|
property :safety_net_token, as: 'safetyNetToken'
|
807
810
|
property :tenant_id, as: 'tenantId'
|
808
811
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-identitytoolkit_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-identitytoolkit_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-identitytoolkit_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-identitytoolkit_v1/v0.17.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-identitytoolkit_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Identity Toolkit API V1
|