class Rack::OAuth2::AccessToken::MTLS

Public Class Methods

new(attributes = {}) click to toggle source
Calls superclass method Rack::OAuth2::AccessToken::new
# 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