sig/plugins/oauth.rbs in httpx-1.2.2 vs sig/plugins/oauth.rbs in httpx-1.2.3

- old
+ new

@@ -13,12 +13,10 @@ SUPPORTED_GRANT_TYPES: ::Array[grant_type] SUPPORTED_AUTH_METHODS: ::Array[token_auth_method] class OAuthSession - attr_reader token_endpoint_auth_method: token_auth_method - attr_reader grant_type: grant_type attr_reader client_id: String attr_reader client_secret: String @@ -30,9 +28,11 @@ attr_reader scope: Array[String]? def initialize: (issuer: uri, client_id: String, client_secret: String, ?access_token: String?, ?refresh_token: String?, ?scope: (Array[String] | String)?, ?token_endpoint: String?, ?response_type: String?, ?grant_type: String?, ?token_endpoint_auth_method: ::String) -> void def token_endpoint: () -> String + + def token_endpoint_auth_method: () -> token_auth_method def load: (Session http) -> void def merge: (instance | Hash[untyped, untyped] other) -> instance end