passageidentity 0.6.0 → 0.6.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/CHANGELOG.md +6 -2
- data/Gemfile +1 -1
- data/README.md +18 -21
- data/lib/passageidentity/version.rb +1 -1
- metadata +3 -3
- /data/.github/workflows/{on_pr.yml → on-pull-request.yml} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08f4e03fb81dc561667b58f12c1be2e8add4599cab6e062abaa864f2e5bf8216'
|
4
|
+
data.tar.gz: cab51189540d53901348a97714bb5a1c7a606fd5a7d0a17f3d11d740d4d7a76d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f6b86e9cdf0aeb7ddb9b1595c0ede7322debf43601b85c17b72a39705a968f9ad7b1ad31dbc522b6f17ec83ddf76e379cc4df3a1463ce05f3b4a0f5dd1c5e91
|
7
|
+
data.tar.gz: 8f65d4dfbfed2ccfbbc15ca3ec2cb78cafbdc3680dac5c6806af9bdeb956c987f91704a87f333720c2385618d691da5e7e1af07472281b9c4426f5cd528cb6be
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## [0.6.1] - 2024-09-26
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
|
9
|
+
- Updated documentation links to point to new documentation
|
10
|
+
|
5
11
|
## [0.6.0] - 2024-03-21
|
6
12
|
|
7
13
|
### Added
|
@@ -35,13 +41,11 @@ All notable changes to this project will be documented in this file.
|
|
35
41
|
- Generate types and api calls with openapi generator.
|
36
42
|
- Version constant instead of parsing gemspec.
|
37
43
|
|
38
|
-
|
39
44
|
### Deprecate
|
40
45
|
|
41
46
|
- `user.signout()` -> `auth.revoke_user_refresh_tokens()`
|
42
47
|
- `auth.authenticate_request()` -> `auth.validate_jwt()`
|
43
48
|
|
44
|
-
|
45
49
|
### Possible Breaking Changes
|
46
50
|
|
47
51
|
- Types are now generated. Previous type names may have changed. [See documentation](https://github.com/passageidentity/passage-ruby/tree/main/docs/generated) for model definitions.
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
# passage-ruby
|
6
6
|
|
7
|
-
This Ruby SDK allows for verification of server-side authentication and user management for Ruby applications build with [Passage](https://passage.id).
|
7
|
+
This Ruby SDK allows for verification of server-side authentication and user management for Ruby applications build with [Passage](https://passage.id). For more information, please visit [Passage Documentation](https://docs.passage.id).
|
8
8
|
|
9
9
|
Install this package using [RubyGems](https://rubygems.org/gems/passageidentity).
|
10
10
|
|
@@ -61,9 +61,8 @@ require 'passageidentity'
|
|
61
61
|
PassageClient =
|
62
62
|
Passage::Client.new(app_id: PASSAGE_APP_ID)
|
63
63
|
app_info = PassageClient.get_app()
|
64
|
-
|
65
|
-
```
|
66
64
|
|
65
|
+
```
|
67
66
|
|
68
67
|
## Retrieve User Info
|
69
68
|
|
@@ -165,7 +164,6 @@ PassageClient =
|
|
165
164
|
devices = PassageClient.user.list_devices(user_id: user_id)
|
166
165
|
```
|
167
166
|
|
168
|
-
|
169
167
|
## List User Devices
|
170
168
|
|
171
169
|
You can list the devices associated with a particular Passage User.
|
@@ -183,7 +181,7 @@ end
|
|
183
181
|
|
184
182
|
## Create an Embeddable Magic Link
|
185
183
|
|
186
|
-
To create a magic link, you should use the `create_magic_link` method. You can check out our guide on embeddable magic links in our [docs](https://docs.passage.id/
|
184
|
+
To create a magic link, you should use the `create_magic_link` method. You can check out our guide on embeddable magic links in our [docs](https://docs.passage.id/complete/magic-links).
|
187
185
|
|
188
186
|
```ruby
|
189
187
|
require 'passageidentity'
|
@@ -203,19 +201,18 @@ magic_link =
|
|
203
201
|
|
204
202
|
## Available Functions
|
205
203
|
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
*UserAPI* | [**user.signout**](docs/custom/UserApi.md#signout) | Signout User
|
204
|
+
| Class | Method | Description |
|
205
|
+
| ----------- | ---------------------------------------------------------------------------- | ---------------------------- |
|
206
|
+
| _ClientApi_ | [**get_app**](docs/custom/ClientApi.md#get_app) | Get App |
|
207
|
+
| _ClientApi_ | [**create_magic_link**](docs/custom/Passage/ClientApi.md#create_magic_link) | Create Embeddable Magic Link |
|
208
|
+
| _AuthApi_ | [**auth.authenticate_request**](docs/custom/AuthApi.md#authenticate_request) | Validates user jwt token |
|
209
|
+
| _AuthApi_ | [**auth.validate_jwt**](docs/custom/AuthApi.md#validate_jwt) | Validates user jwt token |
|
210
|
+
| _UserAPI_ | [**user.delete_device**](docs/custom/UserApi.md#delete_device) | Delete a device for a user |
|
211
|
+
| _UserAPI_ | [**user.list_devices**](docs/custom/UserApi.md#list_devices) | List User Devices |
|
212
|
+
| _UserAPI_ | [**user.activate**](docs/custom/UserApi.md#activate) | Activate User |
|
213
|
+
| _UserAPI_ | [**user.create**](docs/custom/UserApi.md#create) | Create User |
|
214
|
+
| _UserAPI_ | [**user.deactivate**](docs/custom/UserApi.md#deactivate) | Deactivate User |
|
215
|
+
| _UserAPI_ | [**user.delete**](docs/custom/UserApi.md#delete) | Delete User |
|
216
|
+
| _UserAPI_ | [**user.get**](docs/custom/UserApi.md#get) | Get User |
|
217
|
+
| _UserAPI_ | [**user.update**](docs/custom/UserApi.md#update) | Update User |
|
218
|
+
| _UserAPI_ | [**user.signout**](docs/custom/UserApi.md#signout) | Signout User |
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: passageidentity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Passage Identity
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -78,7 +78,7 @@ extensions: []
|
|
78
78
|
extra_rdoc_files: []
|
79
79
|
files:
|
80
80
|
- ".github/workflows/deploy.yml"
|
81
|
-
- ".github/workflows/
|
81
|
+
- ".github/workflows/on-pull-request.yml"
|
82
82
|
- ".gitignore"
|
83
83
|
- CHANGELOG.md
|
84
84
|
- CONTRIBUTING.md
|
File without changes
|