pkce 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +12 -12
- data/lib/pkce/encoder.rb +1 -1
- data/pkce.gemspec +4 -4
- data.tar.gz.sig +0 -0
- metadata +30 -23
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6eea57631d2081c598dae61acbf20d47dc6968d73e90edf57d1c7d60846c6e1b
|
4
|
+
data.tar.gz: a40a83a5f7dc291514a3bd3b1294b7e0cfc37b8e5649114fb22a61817d173f5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e90a82c6b0fef6e6436983e49204881c65a604dc1cc2cbaa86de7732c7a648fe95d612adeb1d84902900db50a368b48baf3327625fa6cfe6fa38e7e057e29d28
|
7
|
+
data.tar.gz: 54f88637b0ba418ef0d13a04e71fcb3ef6f87251f333a2139373df257e7fd11c06dae1f4c72997f1991cb5ad8093e163f87bd82b250589348afb43a8bc787f45
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -63,7 +63,7 @@ In case of a failure, you'll get a proper error message:
|
|
63
63
|
PKCE.call(length: 100).failure # Invalid PKCE verifier length: 100. Must be between 32..96.
|
64
64
|
----
|
65
65
|
|
66
|
-
Due to the fact that PKCE answers back a link:https://dry-rb.org/gems/dry-monads[monad], you have all of the power of link:https://
|
66
|
+
Due to the fact that PKCE answers back a link:https://dry-rb.org/gems/dry-monads[monad], you have all of the power of link:https://alchemists.io/talks/ruby_pattern_matching[pattern matching] at your fingertips as well:
|
67
67
|
|
68
68
|
[source,ruby]
|
69
69
|
----
|
@@ -75,7 +75,7 @@ case PKCE.call
|
|
75
75
|
end
|
76
76
|
----
|
77
77
|
|
78
|
-
Finally, since the code answered back is a link:https://
|
78
|
+
Finally, since the code answered back is a link:https://alchemists.io/articles/ruby_data[Data] object that you can easily test and interact with:
|
79
79
|
|
80
80
|
[source,ruby]
|
81
81
|
----
|
@@ -105,7 +105,7 @@ bin/console
|
|
105
105
|
|
106
106
|
The following documents the workflow used to process and build authorization codes.
|
107
107
|
|
108
|
-
image::https://
|
108
|
+
image::https://alchemists.io/images/projects/pkce/doc/sequence_diagram.svg[Sequence Diagram]
|
109
109
|
|
110
110
|
== Tests
|
111
111
|
|
@@ -113,22 +113,22 @@ To test, run:
|
|
113
113
|
|
114
114
|
[source,bash]
|
115
115
|
----
|
116
|
-
|
116
|
+
bin/rake
|
117
117
|
----
|
118
118
|
|
119
|
-
== link:https://
|
119
|
+
== link:https://alchemists.io/policies/license[License]
|
120
120
|
|
121
|
-
== link:https://
|
121
|
+
== link:https://alchemists.io/policies/security[Security]
|
122
122
|
|
123
|
-
== link:https://
|
123
|
+
== link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
|
124
124
|
|
125
|
-
== link:https://
|
125
|
+
== link:https://alchemists.io/policies/contributions[Contributions]
|
126
126
|
|
127
|
-
== link:https://
|
127
|
+
== link:https://alchemists.io/projects/pkce/versions[Versions]
|
128
128
|
|
129
|
-
== link:https://
|
129
|
+
== link:https://alchemists.io/community[Community]
|
130
130
|
|
131
131
|
== Credits
|
132
132
|
|
133
|
-
* Built with link:https://
|
134
|
-
* Engineered by link:https://
|
133
|
+
* Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].
|
134
|
+
* Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
|
data/lib/pkce/encoder.rb
CHANGED
data/pkce.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "pkce"
|
5
|
-
spec.version = "1.0.
|
5
|
+
spec.version = "1.0.2"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
|
-
spec.homepage = "https://
|
8
|
+
spec.homepage = "https://alchemists.io/projects/pkce"
|
9
9
|
spec.summary = "Builds Proof Key for Code Exchange (PKCE) challenge and verify codes for OAuth."
|
10
10
|
spec.license = "Hippocratic-2.1"
|
11
11
|
|
12
12
|
spec.metadata = {
|
13
13
|
"bug_tracker_uri" => "https://github.com/bkuhlmann/pkce/issues",
|
14
|
-
"changelog_uri" => "https://
|
15
|
-
"documentation_uri" => "https://
|
14
|
+
"changelog_uri" => "https://alchemists.io/projects/pkce/versions",
|
15
|
+
"documentation_uri" => "https://alchemists.io/projects/pkce",
|
16
16
|
"funding_uri" => "https://github.com/sponsors/bkuhlmann",
|
17
17
|
"label" => "PKCE",
|
18
18
|
"rubygems_mfa_required" => "true",
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pkce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -10,25 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
13
|
+
MIIEeDCCAuCgAwIBAgIBATANBgkqhkiG9w0BAQsFADBBMQ8wDQYDVQQDDAZicm9v
|
14
|
+
a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
|
15
|
+
aW8wHhcNMjMwMzIyMTYxNDQxWhcNMjUwMzIxMTYxNDQxW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ijzbDWTsZeZGglS4E+4Jxpau1lU9HhOIcKolv6LeC6UdALTFudY+GLb8Xw
|
31
|
+
REXgaJkjzzhkUSILmEnRwEbY08dVSl7ZAaxVI679vfI2yapLlIwpbBgmQTiTvPr3
|
32
|
+
qyyLUno9flYEOv9fmGHunSrM+gE0/0niGTXa5GgXBXYGS2he4LQGgSBfGp/cTwMU
|
33
|
+
rDKJRcusZ12lNBeDfgqACz/BBJF8FLodgk6rGMRZz7+ZmjjHEmpG5bQpR6Q2BuWL
|
34
|
+
XMtYk/QzaWuhiR7pWjiF8jbdd7RO6or0ohq7iFkokz/5xrtQ/vPzU2RQ3Qc6YaKw
|
35
|
+
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
36
|
+
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
30
37
|
-----END CERTIFICATE-----
|
31
|
-
date:
|
38
|
+
date: 2023-03-22 00:00:00.000000000 Z
|
32
39
|
dependencies:
|
33
40
|
- !ruby/object:Gem::Dependency
|
34
41
|
name: dry-monads
|
@@ -61,13 +68,13 @@ files:
|
|
61
68
|
- lib/pkce/encoder.rb
|
62
69
|
- lib/pkce/verifier.rb
|
63
70
|
- pkce.gemspec
|
64
|
-
homepage: https://
|
71
|
+
homepage: https://alchemists.io/projects/pkce
|
65
72
|
licenses:
|
66
73
|
- Hippocratic-2.1
|
67
74
|
metadata:
|
68
75
|
bug_tracker_uri: https://github.com/bkuhlmann/pkce/issues
|
69
|
-
changelog_uri: https://
|
70
|
-
documentation_uri: https://
|
76
|
+
changelog_uri: https://alchemists.io/projects/pkce/versions
|
77
|
+
documentation_uri: https://alchemists.io/projects/pkce
|
71
78
|
funding_uri: https://github.com/sponsors/bkuhlmann
|
72
79
|
label: PKCE
|
73
80
|
rubygems_mfa_required: 'true'
|
@@ -87,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
94
|
- !ruby/object:Gem::Version
|
88
95
|
version: '0'
|
89
96
|
requirements: []
|
90
|
-
rubygems_version: 3.
|
97
|
+
rubygems_version: 3.4.9
|
91
98
|
signing_key:
|
92
99
|
specification_version: 4
|
93
100
|
summary: Builds Proof Key for Code Exchange (PKCE) challenge and verify codes for
|
metadata.gz.sig
CHANGED
Binary file
|