Class: Rack::OAuth2::AccessToken::MTLS
- Inherits:
-
Bearer
- Object
- Rack::OAuth2::AccessToken
- Bearer
- Rack::OAuth2::AccessToken::MTLS
- Defined in:
- lib/rack/oauth2/access_token/mtls.rb
Instance Attribute Summary
Attributes inherited from Rack::OAuth2::AccessToken
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ MTLS
constructor
A new instance of MTLS.
Methods inherited from Bearer
Methods inherited from Rack::OAuth2::AccessToken
Constructor Details
#initialize(attributes = {}) ⇒ MTLS
Returns a new instance of MTLS.
7 8 9 10 11 12 |
# File 'lib/rack/oauth2/access_token/mtls.rb', line 7 def initialize(attributes = {}) super self.token_type = :bearer http_client.ssl.client_key = private_key http_client.ssl.client_cert = certificate end |