tanker-identity 3.3.0 → 3.3.1.alpha.1
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/README.md +10 -10
- data/lib/tanker/identity/version.rb +1 -1
- metadata +23 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22a36a3d24abcdcaa36431093ca0108e81dfd7c5be3633a6dad2fc29c11d4170
|
4
|
+
data.tar.gz: 585f6202c61416d08587f111cb447697218083dd244ed9925a8383efc53578dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 555c372d77ee3a0b8e3eda93e7383d9bcbbd76405a933ac033e0f60353a27d504d2b675ab534bfc88bd61fe47e482fe0b90e153cfbc94789661e587c39c061b4
|
7
|
+
data.tar.gz: cd5eaa1c3b2baede718c2c338fe02fbc73405ce31ad7af49c760a52c3e7806509e7f68a8a5b1d83f6a7db48e3e3b17edc8b100aa3866bfbe910683b6742b149e
|
data/README.md
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
<a href="#readme"><img src="https://
|
1
|
+
<a href="#readme"><img src="https://raw.githubusercontent.com/TankerHQ/spec/master/img/tanker-logotype-blue-nomargin-350.png" alt="Tanker logo" width="175" /></a>
|
2
2
|
|
3
|
-
|
3
|
+
[](https://opensource.org/licenses/Apache-2.0)
|
4
|
+
[](https://github.com/TankerHQ/identity-ruby/actions)
|
5
|
+
[](https://codecov.io/gh/TankerHQ/identity-ruby)
|
4
6
|
|
5
|
-
|
7
|
+
# Identity SDK
|
6
8
|
|
7
9
|
Identity generation in Ruby for the [Tanker SDK](https://docs.tanker.io/latest/).
|
8
10
|
|
9
11
|
## Requirements
|
10
12
|
|
11
|
-
This gem requires Ruby v2.
|
12
|
-
|
13
|
-
Older Ruby versions are not supported.
|
13
|
+
This gem requires Ruby v2.7 or greater. Older Ruby versions are not supported.
|
14
14
|
|
15
15
|
## Installation
|
16
16
|
|
@@ -24,7 +24,7 @@ Then, add this line to your application's Gemfile:
|
|
24
24
|
gem 'tanker-identity', 'X.Y.Z'
|
25
25
|
```
|
26
26
|
|
27
|
-
Finally,
|
27
|
+
Finally, run:
|
28
28
|
|
29
29
|
```shell
|
30
30
|
bundle
|
@@ -38,10 +38,10 @@ Tanker::Identity.create_identity(app_id, app_secret, user_id)
|
|
38
38
|
Create a new Tanker identity. This identity is secret and must only be given to a user who has been authenticated by your application. This identity is used by the Tanker client SDK to open a Tanker session.
|
39
39
|
|
40
40
|
**app_id**<br>
|
41
|
-
The app ID
|
41
|
+
The app ID, must match the one used in the constructor of the Core SDK.
|
42
42
|
|
43
43
|
**app_secret**<br>
|
44
|
-
The app secret
|
44
|
+
The app secret, secret that you have saved right after the creation of your app.
|
45
45
|
|
46
46
|
**user_id**<br>
|
47
47
|
The unique ID of a user in your application.
|
@@ -53,7 +53,7 @@ Tanker::Identity.create_provisional_identity(app_id, 'email', email)
|
|
53
53
|
Create a Tanker provisional identity. It allows you to share a resource with a user who does not have an account in your application yet.
|
54
54
|
|
55
55
|
**app_id**<br>
|
56
|
-
The app ID
|
56
|
+
The app ID, must match the one used in the constructor of the Core SDK.
|
57
57
|
|
58
58
|
**email**<br>
|
59
59
|
The email of the potential recipient of the resource.
|
metadata
CHANGED
@@ -1,15 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tanker-identity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.1.alpha.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tanker Team
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-03 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.2.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.2.0
|
13
26
|
- !ruby/object:Gem::Dependency
|
14
27
|
name: rbnacl
|
15
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +57,14 @@ dependencies:
|
|
44
57
|
requirements:
|
45
58
|
- - "~>"
|
46
59
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0.
|
60
|
+
version: '0.9'
|
48
61
|
type: :development
|
49
62
|
prerelease: false
|
50
63
|
version_requirements: !ruby/object:Gem::Requirement
|
51
64
|
requirements:
|
52
65
|
- - "~>"
|
53
66
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0.
|
67
|
+
version: '0.9'
|
55
68
|
- !ruby/object:Gem::Dependency
|
56
69
|
name: rake
|
57
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +99,14 @@ dependencies:
|
|
86
99
|
requirements:
|
87
100
|
- - "~>"
|
88
101
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.2.
|
102
|
+
version: 0.2.6
|
90
103
|
type: :development
|
91
104
|
prerelease: false
|
92
105
|
version_requirements: !ruby/object:Gem::Requirement
|
93
106
|
requirements:
|
94
107
|
- - "~>"
|
95
108
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.2.
|
109
|
+
version: 0.2.6
|
97
110
|
- !ruby/object:Gem::Dependency
|
98
111
|
name: simplecov
|
99
112
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,7 +122,7 @@ dependencies:
|
|
109
122
|
- !ruby/object:Gem::Version
|
110
123
|
version: '0'
|
111
124
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
125
|
+
name: simplecov-cobertura
|
113
126
|
requirement: !ruby/object:Gem::Requirement
|
114
127
|
requirements:
|
115
128
|
- - ">="
|
@@ -124,8 +137,6 @@ dependencies:
|
|
124
137
|
version: '0'
|
125
138
|
description: Building blocks to add Tanker identity management to your application
|
126
139
|
server
|
127
|
-
email:
|
128
|
-
- contact@tanker.io
|
129
140
|
executables: []
|
130
141
|
extensions: []
|
131
142
|
extra_rdoc_files: []
|
@@ -136,14 +147,11 @@ files:
|
|
136
147
|
- lib/tanker/crypto.rb
|
137
148
|
- lib/tanker/identity.rb
|
138
149
|
- lib/tanker/identity/version.rb
|
139
|
-
homepage: https://tanker.io
|
140
150
|
licenses:
|
141
151
|
- Apache-2.0
|
142
152
|
metadata:
|
143
|
-
homepage_uri: https://tanker.io
|
144
153
|
source_code_uri: https://github.com/TankerHQ/identity-ruby
|
145
154
|
changelog_uri: https://docs.tanker.io/latest/release-notes/identity/ruby
|
146
|
-
post_install_message:
|
147
155
|
rdoc_options: []
|
148
156
|
require_paths:
|
149
157
|
- lib
|
@@ -151,15 +159,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
151
159
|
requirements:
|
152
160
|
- - ">="
|
153
161
|
- !ruby/object:Gem::Version
|
154
|
-
version: 2.
|
162
|
+
version: 3.2.0
|
155
163
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
164
|
requirements:
|
157
165
|
- - ">="
|
158
166
|
- !ruby/object:Gem::Version
|
159
167
|
version: '0'
|
160
168
|
requirements: []
|
161
|
-
rubygems_version: 3.
|
162
|
-
signing_key:
|
169
|
+
rubygems_version: 3.6.2
|
163
170
|
specification_version: 4
|
164
171
|
summary: Tanker identity management library packaged as a gem
|
165
172
|
test_files: []
|