cognito_idp 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -2
- data/README.md +1 -1
- data/lib/cognito_idp/client.rb +1 -0
- data/lib/cognito_idp/token.rb +2 -1
- data/lib/cognito_idp/version.rb +1 -1
- metadata +17 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 73a9f1c7bb9ed725f35658e0b089125a361fbffd5d173758dd740a6e93b205b5
|
|
4
|
+
data.tar.gz: 72608701acb079b2b2c7e31db55eefd2f40662e7c7f9e293cd34b76af829c808
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e0bc41343ca5ea94f72c2f1c46253be9b029f27ba162621fc9b4fe1ff9325c796f2079ec64eada55792059621e001e521f88f3b3f72fb993568a17bc24782a3
|
|
7
|
+
data.tar.gz: bb1f296f9e860c1ef871ddea30927d1d865812860d58650f36adb9a81a5086fc2134573ae03229581c4eeb6825ca69970325da6f00c956404286386608587d9f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.
|
|
3
|
+
## [0.2.0](https://github.com/appercept/cognito_idp-ruby/tree/0.2.0) (2025-11-19)
|
|
4
4
|
|
|
5
|
-
[Full Changelog](https://github.com/appercept/cognito_idp-ruby/compare/v0.1.
|
|
5
|
+
[Full Changelog](https://github.com/appercept/cognito_idp-ruby/compare/v0.1.1...0.2.0)
|
|
6
|
+
|
|
7
|
+
**Merged pull requests:**
|
|
8
|
+
|
|
9
|
+
- feat: Add CognitoIdp::Token\#refresh\_token [\#3](https://github.com/appercept/cognito_idp-ruby/pull/3) ([rhatherall](https://github.com/rhatherall))
|
|
10
|
+
|
|
11
|
+
## [v0.1.1](https://github.com/appercept/cognito_idp-ruby/tree/v0.1.1) (2023-12-07)
|
|
12
|
+
|
|
13
|
+
[Full Changelog](https://github.com/appercept/cognito_idp-ruby/compare/v0.1.0...v0.1.1)
|
|
6
14
|
|
|
7
15
|
**Fixed bugs:**
|
|
8
16
|
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# CognitoIdp
|
|
1
|
+
# CognitoIdp [](https://github.com/appercept/cognito_idp-ruby/actions/workflows/main.yml)
|
|
2
2
|
|
|
3
3
|
Client for interacting with Amazon Cognito IdP (User Pools) endpoints.
|
|
4
4
|
|
data/lib/cognito_idp/client.rb
CHANGED
data/lib/cognito_idp/token.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module CognitoIdp
|
|
4
4
|
class Token
|
|
5
|
-
attr_reader :access_token, :id_token, :token_type, :expires_at, :expires_in
|
|
5
|
+
attr_reader :access_token, :id_token, :token_type, :expires_at, :expires_in, :refresh_token
|
|
6
6
|
|
|
7
7
|
def initialize(token_hash)
|
|
8
8
|
token_hash.transform_keys(&:to_sym).tap do |values|
|
|
@@ -10,6 +10,7 @@ module CognitoIdp
|
|
|
10
10
|
@id_token = values[:id_token]
|
|
11
11
|
@token_type = values[:token_type]
|
|
12
12
|
@expires_in = values[:expires_in]
|
|
13
|
+
@refresh_token = values[:refresh_token]
|
|
13
14
|
end
|
|
14
15
|
@expires_at = Time.now + expires_in unless expires_in.nil?
|
|
15
16
|
end
|
data/lib/cognito_idp/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cognito_idp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Hatherall
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: base64
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '0'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '0'
|
|
13
26
|
- !ruby/object:Gem::Dependency
|
|
14
27
|
name: faraday
|
|
15
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -55,7 +68,6 @@ metadata:
|
|
|
55
68
|
homepage_uri: https://github.com/appercept/cognito_idp-ruby
|
|
56
69
|
source_code_uri: https://github.com/appercept/cognito_idp-ruby
|
|
57
70
|
changelog_uri: https://github.com/appercept/cognito_idp-ruby/CHANGELOG.md
|
|
58
|
-
post_install_message:
|
|
59
71
|
rdoc_options: []
|
|
60
72
|
require_paths:
|
|
61
73
|
- lib
|
|
@@ -70,8 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
70
82
|
- !ruby/object:Gem::Version
|
|
71
83
|
version: '0'
|
|
72
84
|
requirements: []
|
|
73
|
-
rubygems_version: 3.
|
|
74
|
-
signing_key:
|
|
85
|
+
rubygems_version: 3.7.2
|
|
75
86
|
specification_version: 4
|
|
76
87
|
summary: Amazon Cognito IdP (User Pools) Client
|
|
77
88
|
test_files: []
|