rodauth-oauth 0.10.1 → 0.10.2
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/doc/release_notes/0_10_2.md +5 -0
- data/lib/generators/rodauth/oauth/templates/db/migrate/create_rodauth_oauth.rb +1 -1
- data/lib/rodauth/features/oauth_application_management.rb +0 -2
- data/lib/rodauth/features/oauth_base.rb +1 -0
- data/lib/rodauth/oauth/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec0cd919b0135e453bd429e8982e883897b83c9ab068add6270afaf2cd1272d1
|
|
4
|
+
data.tar.gz: fd5f30a1a2a64457a1ca44e19a4af172494a0b9ac03935e4850ad7320eadcb1b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 13c1127f8084dc782bcd6fa58da37e3b94976809ebf71be93487bc1a87d23d8f494fa66298465219b027fb93ef648b9c73da98289e07ce0d6cc98ff48d8d9023
|
|
7
|
+
data.tar.gz: 2f065eda1c8084e31fc879badb9d6309ea0fb30a24520d8276afccc8dfcfc3480d3d3400c8c1b600a81f5b8884609688b4b4aeab19b955ea5eb45f866aba8ab7
|
|
@@ -4,7 +4,7 @@ class CreateRodauthOauth < ActiveRecord::Migration<%= migration_version %>
|
|
|
4
4
|
t.integer :account_id
|
|
5
5
|
t.foreign_key :accounts, column: :account_id
|
|
6
6
|
t.string :name, null: false
|
|
7
|
-
t.string :description, null:
|
|
7
|
+
t.string :description, null: true
|
|
8
8
|
t.string :homepage_url, null: false
|
|
9
9
|
t.string :redirect_uri, null: false
|
|
10
10
|
t.string :client_id, null: false, index: { unique: true }
|
|
@@ -15,8 +15,6 @@ module Rodauth
|
|
|
15
15
|
view "new_oauth_application", "New Oauth Application", "new_oauth_application"
|
|
16
16
|
view "oauth_application_oauth_tokens", "Oauth Application Tokens", "oauth_application_oauth_tokens"
|
|
17
17
|
|
|
18
|
-
auth_value_method :oauth_valid_uri_schemes, %w[https]
|
|
19
|
-
|
|
20
18
|
# Application
|
|
21
19
|
APPLICATION_REQUIRED_PARAMS = %w[name scopes homepage_url redirect_uri client_secret].freeze
|
|
22
20
|
auth_value_method :oauth_application_required_params, APPLICATION_REQUIRED_PARAMS
|
|
@@ -33,6 +33,7 @@ module Rodauth
|
|
|
33
33
|
auth_value_method :oauth_response_mode, "query"
|
|
34
34
|
auth_value_method :oauth_auth_methods_supported, %w[client_secret_basic client_secret_post]
|
|
35
35
|
|
|
36
|
+
auth_value_method :oauth_valid_uri_schemes, %w[https]
|
|
36
37
|
auth_value_method :oauth_scope_separator, " "
|
|
37
38
|
|
|
38
39
|
auth_value_method :oauth_tokens_table, :oauth_tokens
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rodauth-oauth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tiago Cardoso
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-08-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rodauth
|
|
@@ -41,6 +41,7 @@ extra_rdoc_files:
|
|
|
41
41
|
- doc/release_notes/0_0_6.md
|
|
42
42
|
- doc/release_notes/0_10_0.md
|
|
43
43
|
- doc/release_notes/0_10_1.md
|
|
44
|
+
- doc/release_notes/0_10_2.md
|
|
44
45
|
- doc/release_notes/0_1_0.md
|
|
45
46
|
- doc/release_notes/0_2_0.md
|
|
46
47
|
- doc/release_notes/0_3_0.md
|
|
@@ -74,6 +75,7 @@ files:
|
|
|
74
75
|
- doc/release_notes/0_0_6.md
|
|
75
76
|
- doc/release_notes/0_10_0.md
|
|
76
77
|
- doc/release_notes/0_10_1.md
|
|
78
|
+
- doc/release_notes/0_10_2.md
|
|
77
79
|
- doc/release_notes/0_1_0.md
|
|
78
80
|
- doc/release_notes/0_2_0.md
|
|
79
81
|
- doc/release_notes/0_3_0.md
|