Class: OpenIDConnect::AccessToken::MTLS
- Inherits:
-
OpenIDConnect::AccessToken
- Object
- Rack::OAuth2::AccessToken::Bearer
- OpenIDConnect::AccessToken
- OpenIDConnect::AccessToken::MTLS
- Defined in:
- lib/openid_connect/access_token/mtls.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ MTLS
constructor
A new instance of MTLS.
Methods inherited from OpenIDConnect::AccessToken
Constructor Details
#initialize(attributes = {}) ⇒ MTLS
Returns a new instance of MTLS.
3 4 5 6 7 |
# File 'lib/openid_connect/access_token/mtls.rb', line 3 def initialize(attributes = {}) super http_client.ssl.client_key = attributes[:private_key] || client.private_key http_client.ssl.client_cert = attributes[:certificate] || client.certificate end |