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.



1222
1223
1224
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1222

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)


1206
1207
1208
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1206

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)


1211
1212
1213
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1211

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)


1220
1221
1222
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1220

def saml_app_entity_id
  @saml_app_entity_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1227
1228
1229
1230
1231
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1227

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