spaceship/lib/spaceship/connect_api/token.rb in fastlane-2.210.0 vs spaceship/lib/spaceship/connect_api/token.rb in fastlane-2.210.1
- old
+ new
@@ -20,11 +20,10 @@
attr_reader :text
attr_reader :duration
attr_reader :expiration
attr_reader :key_raw
- attr_reader :is_key_content_base64
# Temporary attribute not needed to create the JWT text
# There is no way to determine if the team associated with this
# key is for App Store or Enterprise so this is the temporary workaround
attr_accessor :in_house
@@ -70,22 +69,20 @@
key_id: key_id,
issuer_id: issuer_id,
key: OpenSSL::PKey::EC.new(key),
key_raw: key,
duration: duration,
- in_house: in_house,
- is_key_content_base64: is_key_content_base64
+ in_house: in_house
)
end
- def initialize(key_id: nil, issuer_id: nil, key: nil, key_raw: nil, duration: nil, in_house: nil, is_key_content_base64: nil)
+ def initialize(key_id: nil, issuer_id: nil, key: nil, key_raw: nil, duration: nil, in_house: nil)
@key_id = key_id
@key = key
@key_raw = key_raw
@issuer_id = issuer_id
@duration = duration
@in_house = in_house
- @is_key_content_base64 = is_key_content_base64
@duration ||= DEFAULT_TOKEN_DURATION
@duration = @duration.to_i if @duration
refresh!