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
- Files must contain the appropriate PEMs. The private key may be encrypted; if so, pass a password to OpenSSL::PKey::RSA.new(File.read(path), ENV["KEY_PASSWORD"]).
1110
+
- Files must contain the appropriate PEMs. The private key may be encrypted; if so, pass a password to `OpenSSL::PKey::RSA.new(File.read(path), ENV["KEY_PASSWORD"])`.
1111
1111
- If your certificate and key are in a PKCS#12/PFX bundle, you can load them like:
- If your environment does not have system CAs, specify ca_file or ca_path inside the ssl: hash.
1116
-
- Keep verify: true in production. Set verify: false only for local testing.
1117
-
- Faraday adapter: Any adapter that supports Ruby’s OpenSSL should work. net_http (default) and net_http_persistent are common choices.
1115
+
- If your environment does not have system CAs, specify `ca_file` or `ca_path` inside the `ssl:` hash.
1116
+
- Keep `verify: true` in production. Set `verify: false` only for local testing.
1117
+
- Faraday adapter: Any adapter that supports Ruby’s OpenSSL should work. `net_http` (default) and `net_http_persistent` are common choices.
1118
1118
- Scope of mTLS: The SSL client cert is applied to any HTTPS request made by this client (token and resource requests) to the configured site base URL (and absolute URLs you call with the same client).
1119
-
- OIDC tie-in: Some OPs require tls_client_auth at the token endpoint per OIDC/OAuth specifications. That is enabled via auth_scheme: :tls_client_auth as shown above.
1119
+
- OIDC tie-in: Some OPs require tls_client_auth at the token endpoint per OIDC/OAuth specifications. That is enabled via `auth_scheme: :tls_client_auth` as shown above.
# @option opts [FixNum, String] :expires_latency (nil) the number of seconds by which AccessToken validity will be reduced to offset latency, @version 2.0+
135
135
# @option opts [Symbol, Hash, or callable] :mode (:header) the transmission mode of the Access Token parameter value:
136
136
# either one of :header, :body or :query; or a Hash with verb symbols as keys mapping to one of these symbols
137
-
# (e.g., {get: :query, post: :header, delete: :header}); or a callable that accepts a request-verb parameter
137
+
# (e.g., `{get: :query, post: :header, delete: :header}`); or a callable that accepts a request-verb parameter
138
138
# and returns one of these three symbols.
139
139
# @option opts [String] :header_format ('Bearer %s') the string format to use for the Authorization header
0 commit comments