Class: Clerk::Models::Components::EnterpriseConnectionTestRunOauth

Inherits:
Object
  • Object
show all
Includes:
Crystalline::MetadataFields
Defined in:
lib/clerk/models/components/enterpriseconnectiontestrun_oauth.rb

Overview

OAuth-specific metadata, present for OIDC connections

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(id_token: nil, access_token: nil, user_info: nil) ⇒ EnterpriseConnectionTestRunOauth

Returns a new instance of EnterpriseConnectionTestRunOauth.



23
24
25
26
27
# File 'lib/clerk/models/components/enterpriseconnectiontestrun_oauth.rb', line 23

def initialize(id_token: nil, access_token: nil, user_info: nil)
  @id_token = id_token
  @access_token = access_token
  @user_info = 
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/clerk/models/components/enterpriseconnectiontestrun_oauth.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id_token == other.id_token
  return false unless @access_token == other.access_token
  return false unless @user_info == other.
  true
end