Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb

Overview

Additional config for Apple for code flow.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig.



240
241
242
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 240

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#key_idString

Key ID for the private key. Corresponds to the JSON property keyId

Returns:

  • (String)


228
229
230
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 228

def key_id
  @key_id
end

#private_keyString

Private key used for signing the client secret JWT. Corresponds to the JSON property privateKey

Returns:

  • (String)


233
234
235
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 233

def private_key
  @private_key
end

#team_idString

Apple Developer Team ID. Corresponds to the JSON property teamId

Returns:

  • (String)


238
239
240
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 238

def team_id
  @team_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



245
246
247
248
249
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 245

def update!(**args)
  @key_id = args[:key_id] if args.key?(:key_id)
  @private_key = args[:private_key] if args.key?(:private_key)
  @team_id = args[:team_id] if args.key?(:team_id)
end