Module: HTTPX::Plugins::OAuth::_OAuthOptions

Defined in:
sig/plugins/oauth.rbs

Instance Method Summary collapse

Instance Method Details

#oauth_options ⇒ { 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, ?audience: ::String }?

Returns:

  • ({ 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, ?audience: ::String }, nil)


63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'sig/plugins/oauth.rbs', line 63

def oauth_options: () -> {
  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,
  ?audience: ::String
}?

#oauth_session ⇒ OAuthSession?

Returns:



61
# File 'sig/plugins/oauth.rbs', line 61

def oauth_session: () -> OAuthSession?