Sha256: a4a3cf725ff0eef017c74c42907706336fafc2b32294d26c42f5901abac00784

Contents?: true

Size: 296 Bytes

Versions: 9

Compression:

Stored size: 296 Bytes

Contents

module AppleID
  class AccessToken < OpenIDConnect::AccessToken
    undef_required_attributes :client

    def initialize(access_token, attributes = {})
      super attributes.merge(access_token: access_token)
      self.id_token = IdToken.decode(id_token) if id_token.present?
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
apple_id-1.0.1 lib/apple_id/access_token.rb
apple_id-1.0.0 lib/apple_id/access_token.rb
apple_id-0.6.0 lib/apple_id/access_token.rb
apple_id-0.5.0 lib/apple_id/access_token.rb
apple_id-0.4.0 lib/apple_id/access_token.rb
apple_id-0.3.0 lib/apple_id/access_token.rb
apple_id-0.2.1 lib/apple_id/access_token.rb
apple_id-0.2.0 lib/apple_id/access_token.rb
apple_id-0.1.0 lib/apple_id/access_token.rb