oauth2 2.0.24 → 2.0.26
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +147 -3
- data/README.md +79 -99
- data/lib/oauth2/access_token.rb +13 -8
- data/lib/oauth2/client.rb +34 -15
- data/lib/oauth2/sanitized_log_formatter.rb +198 -0
- data/lib/oauth2/version.rb +4 -1
- data/lib/oauth2.rb +11 -1
- data/sig/oauth2.rbs +206 -0
- data.tar.gz.sig +0 -0
- metadata +40 -60
- metadata.gz.sig +0 -0
- data/CITATION.cff +0 -20
- data/CODE_OF_CONDUCT.md +0 -134
- data/CONTRIBUTING.md +0 -272
- data/FUNDING.md +0 -74
- data/RUBOCOP.md +0 -71
- data/SECURITY.md +0 -21
- data/certs/pboling.pem +0 -27
- data/sig/oauth2/access_token.rbs +0 -25
- data/sig/oauth2/authenticator.rbs +0 -22
- data/sig/oauth2/client.rbs +0 -52
- data/sig/oauth2/error.rbs +0 -8
- data/sig/oauth2/filtered_attributes.rbs +0 -11
- data/sig/oauth2/response.rbs +0 -18
- data/sig/oauth2/sanitized_logger.rbs +0 -32
- data/sig/oauth2/strategy.rbs +0 -34
- data/sig/oauth2/thing_filter.rbs +0 -10
- data/sig/oauth2/version.rbs +0 -6
data/sig/oauth2/strategy.rbs
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
module OAuth2
|
|
2
|
-
module Strategy
|
|
3
|
-
class Base
|
|
4
|
-
def initialize: (OAuth2::Client) -> void
|
|
5
|
-
end
|
|
6
|
-
|
|
7
|
-
class AuthCode < Base
|
|
8
|
-
def authorize_params: (?Hash[untyped, untyped]) -> Hash[untyped, untyped]
|
|
9
|
-
def authorize_url: (?Hash[untyped, untyped]) -> String
|
|
10
|
-
def get_token: (String, ?Hash[untyped, untyped], ?Hash[Symbol, untyped]) -> OAuth2::AccessToken
|
|
11
|
-
end
|
|
12
|
-
|
|
13
|
-
class Implicit < Base
|
|
14
|
-
def authorize_params: (?Hash[untyped, untyped]) -> Hash[untyped, untyped]
|
|
15
|
-
def authorize_url: (?Hash[untyped, untyped]) -> String
|
|
16
|
-
def get_token: (*untyped) -> void
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
class Password < Base
|
|
20
|
-
def authorize_url: () -> void
|
|
21
|
-
def get_token: (String, String, ?Hash[untyped, untyped], ?Hash[Symbol, untyped]) -> OAuth2::AccessToken
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
class ClientCredentials < Base
|
|
25
|
-
def authorize_url: () -> void
|
|
26
|
-
def get_token: (?Hash[untyped, untyped], ?Hash[Symbol, untyped]) -> OAuth2::AccessToken
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
class Assertion < Base
|
|
30
|
-
def authorize_url: () -> void
|
|
31
|
-
def get_token: (Hash[untyped, untyped], Hash[Symbol, untyped], ?Hash[Symbol, untyped], ?Hash[Symbol, untyped]) -> OAuth2::AccessToken
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
data/sig/oauth2/thing_filter.rbs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
module OAuth2
|
|
2
|
-
class ThingFilter
|
|
3
|
-
attr_reader things: Array[String]
|
|
4
|
-
attr_reader label: String
|
|
5
|
-
|
|
6
|
-
def initialize: (Enumerable[untyped] things, label: String) -> void
|
|
7
|
-
def filtered?: (untyped thing_name) -> bool
|
|
8
|
-
def pattern_source: () -> String
|
|
9
|
-
end
|
|
10
|
-
end
|