oauth2 2.0.25 → 2.1.0

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.
@@ -1,32 +0,0 @@
1
- module OAuth2
2
- class SanitizedLogger
3
- def initialize: (untyped logger) -> void
4
-
5
- def add: (untyped severity, ?untyped message, ?untyped progname) { () -> untyped } -> untyped
6
- def <<: (String message) -> untyped
7
- def debug: (?untyped progname) { () -> untyped } -> untyped
8
- def info: (?untyped progname) { () -> untyped } -> untyped
9
- def warn: (?untyped progname) { () -> untyped } -> untyped
10
- def error: (?untyped progname) { () -> untyped } -> untyped
11
- def fatal: (?untyped progname) { () -> untyped } -> untyped
12
- def unknown: (?untyped progname) { () -> untyped } -> untyped
13
- def close: () -> void
14
- def formatter: () -> untyped
15
- def formatter=: (untyped formatter) -> void
16
- def level: () -> untyped
17
- def level=: (untyped level) -> void
18
- def progname: () -> untyped
19
- def progname=: (untyped progname) -> void
20
- def respond_to_missing?: (Symbol method_name, ?bool include_private) -> bool
21
- def method_missing: (Symbol method_name, *untyped args) { () -> untyped } -> untyped
22
-
23
- private
24
-
25
- def log: (Symbol level, ?untyped progname) { () -> untyped } -> untyped
26
- def sanitize: (untyped message) -> untyped
27
- def thing_filter: () -> OAuth2::ThingFilter
28
- def sanitize_authorization_header: (String message) -> String
29
- def sanitize_json_pairs: (String message) -> String
30
- def sanitize_form_and_query_pairs: (String message) -> String
31
- end
32
- end
@@ -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
@@ -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
@@ -1,6 +0,0 @@
1
- module OAuth2
2
- module Version
3
- VERSION: String
4
- end
5
- VERSION: String
6
- end