simple_oauth 0.5.1 → 1.0.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/.rubocop.yml +1 -1
- data/CHANGELOG.md +39 -0
- data/README.md +116 -2
- data/Rakefile +2 -0
- data/Steepfile +4 -2
- data/lib/simple_oauth/encoding.rb +2 -0
- data/lib/simple_oauth/errors.rb +7 -2
- data/lib/simple_oauth/header/class_methods.rb +23 -25
- data/lib/simple_oauth/header/params.rb +7 -7
- data/lib/simple_oauth/header.rb +7 -6
- data/lib/simple_oauth/oauth2/authorization_response.rb +162 -0
- data/lib/simple_oauth/oauth2/client.rb +307 -0
- data/lib/simple_oauth/oauth2/error.rb +95 -0
- data/lib/simple_oauth/oauth2/pkce.rb +104 -0
- data/lib/simple_oauth/oauth2/request.rb +61 -0
- data/lib/simple_oauth/oauth2/response_body.rb +26 -0
- data/lib/simple_oauth/oauth2/token.rb +209 -0
- data/lib/simple_oauth/oauth2.rb +31 -0
- data/lib/simple_oauth/parser.rb +7 -1
- data/lib/simple_oauth/signature.rb +12 -7
- data/lib/simple_oauth/version.rb +4 -2
- data/lib/simple_oauth.rb +6 -7
- data/sig/manifest.yaml +7 -0
- data/sig/simple_oauth/header/class_methods.rbs +3 -5
- data/sig/simple_oauth/oauth2.rbs +144 -0
- data/sig/simple_oauth/signature.rbs +1 -1
- data/sig/simple_oauth.rbs +7 -3
- metadata +15 -36
- data/sig/matchdata_ext.rbs +0 -6
- data/sig/openssl_ext.rbs +0 -15
- data/sig/strscan.rbs +0 -9
data/sig/strscan.rbs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# Minimal StringScanner type declarations for simple_oauth
|
|
2
|
-
class StringScanner
|
|
3
|
-
def initialize: (String string) -> void
|
|
4
|
-
def scan: (Regexp pattern) -> String?
|
|
5
|
-
def eos?: () -> bool
|
|
6
|
-
def rest: () -> String
|
|
7
|
-
def pos: () -> Integer
|
|
8
|
-
def []: (Integer index) -> String?
|
|
9
|
-
end
|