Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1IssueSamlResponseRequest

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

Overview

Request message for IssueSamlResponse.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1IssueSamlResponseRequest

Returns a new instance of GoogleCloudIdentitytoolkitV1IssueSamlResponseRequest.



1262
1263
1264
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1262

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

Instance Attribute Details

#id_tokenString

The Identity Platform ID token. It will be verified and then converted to a new SAMLResponse. Corresponds to the JSON property idToken

Returns:

  • (String)


1246
1247
1248
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1246

def id_token
  @id_token
end

#rp_idString

Relying Party identifier, which is the audience of issued SAMLResponse. Corresponds to the JSON property rpId

Returns:

  • (String)


1251
1252
1253
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1251

def rp_id
  @rp_id
end

#saml_app_entity_idString

SAML app entity id specified in Google Admin Console for each app. If developers want to redirect to a third-party app rather than a G Suite app, they'll probably they need this. When it's used, we'll return a RelayState. This includes a SAMLRequest, which can be used to trigger a SP-initiated SAML flow to redirect to the real app. Corresponds to the JSON property samlAppEntityId

Returns:

  • (String)


1260
1261
1262
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1260

def saml_app_entity_id
  @saml_app_entity_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1267
1268
1269
1270
1271
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1267

def update!(**args)
  @id_token = args[:id_token] if args.key?(:id_token)
  @rp_id = args[:rp_id] if args.key?(:rp_id)
  @saml_app_entity_id = args[:saml_app_entity_id] if args.key?(:saml_app_entity_id)
end