passageidentity 0.0.6 → 0.0.7

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: 2a690a22154faaee08c7f917391722ba209f13eed6b321a71112906c45c94c4b
4
- data.tar.gz: 33d3a29b62ef42d6239d31082a06e9fc070271e4ebbccfa612fe0b6610c6dc58
3
+ metadata.gz: 150a9a5019bc8edcee52a97ca0827e550bcdddf331c53a5d30b93d9ee34c654a
4
+ data.tar.gz: 2e426bb06a6b0f48215bd6fc65f14f16bbe89533ef43268477345d6ee1ca10c4
5
5
  SHA512:
6
- metadata.gz: 205210cafaa264ea5b1709c9d09a98f37d4f0c5c306a435a5b59972ed620160ad73a5bda9eb610e0df1204127d75c21b4f7138e9ffa5ea41b3a710c7d8098159
7
- data.tar.gz: b06a3b13b4f95c3439f3acefee1872656ac151e88d0fa88e0a1b4800662114de2e25c745020ca26de21321b1c0db4f95ee03a977ed8950492e309fd134be6e0e
6
+ metadata.gz: ccb948349018b0b7d6cca610f450c7ec73a14bb36043d1470186178b7a009f6e3c064812bff3016df0d5366b017e15bf1a58dd6226cca2feab3d91fa283e4d58
7
+ data.tar.gz: fe4a77185f3c88c1cde260a55ed9f238b7fc909bcdf57746eb9bd3023ac9ff08f178c6d8c6bd74451e8a8f7c6df79dd5386b46efbf10f538a194bef2570d3ecf
data/README.md CHANGED
@@ -51,6 +51,36 @@ class ApplicationController < ActionController::Base
51
51
  end
52
52
  ```
53
53
 
54
+ ## Retrieve App Info
55
+
56
+ To retrieve information about an app , you should use the `get_app` method.
57
+
58
+ ```ruby
59
+ require 'passageidentity'
60
+
61
+ PassageClient =
62
+ Passage::Client.new(app_id: PASSAGE_APP_ID)
63
+ app_info = PassageClient.get_app()
64
+
65
+ ```
66
+
67
+ The information available in the Passage App struct returned by PassageClient.get_app():
68
+
69
+ ```ruby
70
+ Struct.new :name,
71
+ :id,
72
+ :auth_origin,
73
+ :redirect_url,
74
+ :login_url,
75
+ :rsa_public_key,
76
+ :allowed_identifer,
77
+ :required_identifier,
78
+ :require_email_verification,
79
+ :session_timeout_length,
80
+ :user_metadata_schema,
81
+ :layouts,
82
+ ```
83
+
54
84
  ## Retrieve User Info
55
85
 
56
86
  To retrieve information about a user, you should use the `get` method. You will need to use a Passage API key, which can be created in the Passage Console under your Application Settings. This API key grants your web server access to the Passage management APIs to get and update information about users. This API key must be protected and stored in an appropriate secure storage location. It should never be hard-coded in the repository.
@@ -90,8 +90,6 @@ module Passage
90
90
  nil,
91
91
  true,
92
92
  {
93
- iss: @app_id,
94
- verify_iss: true,
95
93
  aud: @auth_origin,
96
94
  verify_aud: true,
97
95
  algorithms: ["RS256"],
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'passageidentity'
3
- s.version = '0.0.6'
3
+ s.version = '0.0.7'
4
4
  s.summary = 'Passage SDK for biometric authentication'
5
5
  s.description =
6
6
  'Enables verification of server-side authentication and user management for applications using Passage'
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.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Passage Identity
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-20 00:00:00.000000000 Z
11
+ date: 2022-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday