You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warn('OAuth2::Client#initialize argument `extract_access_token` will be removed in oauth2 v3. Refactor to use `access_token_class`.')ifopts[:extract_access_token]
52
+
warn("OAuth2::Client#initialize argument `extract_access_token` will be removed in oauth2 v3. Refactor to use `access_token_class`.")ifopts[:extract_access_token]
53
53
@options={
54
-
authorize_url: 'oauth/authorize',
55
-
token_url: 'oauth/token',
54
+
authorize_url: "oauth/authorize",
55
+
token_url: "oauth/token",
56
56
token_method: :post,
57
57
auth_scheme: :basic_auth,
58
58
connection_opts: {},
@@ -81,8 +81,8 @@ def connection
81
81
ifoptions[:connection_build]
82
82
options[:connection_build].call(builder)
83
83
else
84
-
builder.request:url_encoded# form-encode POST params
85
-
builder.adapterFaraday.default_adapter# make requests with Net::HTTP
84
+
builder.request(:url_encoded)# form-encode POST params
85
+
builder.adapter(Faraday.default_adapter)# make requests with Net::HTTP
warn('OAuth2::Client#get_token argument `extract_access_token` will be removed in oauth2 v3. Refactor to use `access_token_class` on #initialize.')ifextract_access_token
168
+
warn("OAuth2::Client#get_token argument `extract_access_token` will be removed in oauth2 v3. Refactor to use `access_token_class` on #initialize.")ifextract_access_token
0 commit comments