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.



1256
1257
1258
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1256

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)


1240
1241
1242
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1240

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)


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

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)


1254
1255
1256
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1254

def saml_app_entity_id
  @saml_app_entity_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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