Sha256: 5cb2312c9e71a7547c7b436ab2e2e70c6961527c8ace4cdf07fb2830c7f9980b

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

module Oidc
  class AccessToken::MTLS < AccessToken
    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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oidc-0.0.1 lib/oidc/access_token/mtls.rb