Class: Google::Apis::IdentitytoolkitV3::CreateAuthUriRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::CreateAuthUriRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/identitytoolkit_v3/classes.rb,
generated/google/apis/identitytoolkit_v3/representations.rb,
generated/google/apis/identitytoolkit_v3/representations.rb
Overview
Request to get the IDP authentication URL.
Instance Attribute Summary collapse
-
#app_id ⇒ String
The app ID of the mobile app, base64(CERT_SHA1):PACKAGE_NAME for Android, BUNDLE_ID for iOS.
-
#auth_flow_type ⇒ String
Explicitly specify the auth flow type.
-
#client_id ⇒ String
The relying party OAuth client ID.
-
#context ⇒ String
The opaque value used by the client to maintain context info between the authentication request and the IDP callback.
-
#continue_uri ⇒ String
The URI to which the IDP redirects the user after the federated login flow.
-
#custom_parameter ⇒ Hash<String,String>
The query parameter that client can customize by themselves in auth url.
-
#hosted_domain ⇒ String
The hosted domain to restrict sign-in to accounts at that domain for Google Apps hosted accounts.
-
#identifier ⇒ String
The email or federated ID of the user.
-
#oauth_consumer_key ⇒ String
The developer's consumer key for OpenId OAuth Extension Corresponds to the JSON property
oauthConsumerKey
. -
#oauth_scope ⇒ String
Additional oauth scopes, beyond the basid user profile, that the user would be prompted to grant Corresponds to the JSON property
oauthScope
. -
#openid_realm ⇒ String
Optional realm for OpenID protocol.
-
#ota_app ⇒ String
The native app package for OTA installation.
-
#provider_id ⇒ String
The IdP ID.
-
#session_id ⇒ String
The session_id passed by client.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateAuthUriRequest
constructor
A new instance of CreateAuthUriRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreateAuthUriRequest
Returns a new instance of CreateAuthUriRequest
360 361 362 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 360 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_id ⇒ String
The app ID of the mobile app, base64(CERT_SHA1):PACKAGE_NAME for Android,
BUNDLE_ID for iOS.
Corresponds to the JSON property appId
285 286 287 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 285 def app_id @app_id end |
#auth_flow_type ⇒ String
Explicitly specify the auth flow type. Currently only support "CODE_FLOW" type.
The field is only used for Google provider.
Corresponds to the JSON property authFlowType
291 292 293 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 291 def auth_flow_type @auth_flow_type end |
#client_id ⇒ String
The relying party OAuth client ID.
Corresponds to the JSON property clientId
296 297 298 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 296 def client_id @client_id end |
#context ⇒ String
The opaque value used by the client to maintain context info between the
authentication request and the IDP callback.
Corresponds to the JSON property context
302 303 304 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 302 def context @context end |
#continue_uri ⇒ String
The URI to which the IDP redirects the user after the federated login flow.
Corresponds to the JSON property continueUri
307 308 309 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 307 def continue_uri @continue_uri end |
#custom_parameter ⇒ Hash<String,String>
The query parameter that client can customize by themselves in auth url. The
following parameters are reserved for server so that they cannot be customized
by clients: client_id, response_type, scope, redirect_uri, state, oauth_token.
Corresponds to the JSON property customParameter
314 315 316 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 314 def custom_parameter @custom_parameter end |
#hosted_domain ⇒ String
The hosted domain to restrict sign-in to accounts at that domain for Google
Apps hosted accounts.
Corresponds to the JSON property hostedDomain
320 321 322 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 320 def hosted_domain @hosted_domain end |
#identifier ⇒ String
The email or federated ID of the user.
Corresponds to the JSON property identifier
325 326 327 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 325 def identifier @identifier end |
#oauth_consumer_key ⇒ String
The developer's consumer key for OpenId OAuth Extension
Corresponds to the JSON property oauthConsumerKey
330 331 332 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 330 def oauth_consumer_key @oauth_consumer_key end |
#oauth_scope ⇒ String
Additional oauth scopes, beyond the basid user profile, that the user would be
prompted to grant
Corresponds to the JSON property oauthScope
336 337 338 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 336 def oauth_scope @oauth_scope end |
#openid_realm ⇒ String
Optional realm for OpenID protocol. The sub string "scheme://domain:port" of
the param "continueUri" is used if this is not set.
Corresponds to the JSON property openidRealm
342 343 344 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 342 def openid_realm @openid_realm end |
#ota_app ⇒ String
The native app package for OTA installation.
Corresponds to the JSON property otaApp
347 348 349 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 347 def ota_app @ota_app end |
#provider_id ⇒ String
The IdP ID. For white listed IdPs it's a short domain name e.g. google.com,
aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP identifier.
Corresponds to the JSON property providerId
353 354 355 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 353 def provider_id @provider_id end |
#session_id ⇒ String
The session_id passed by client.
Corresponds to the JSON property sessionId
358 359 360 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 358 def session_id @session_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 365 def update!(**args) @app_id = args[:app_id] if args.key?(:app_id) @auth_flow_type = args[:auth_flow_type] if args.key?(:auth_flow_type) @client_id = args[:client_id] if args.key?(:client_id) @context = args[:context] if args.key?(:context) @continue_uri = args[:continue_uri] if args.key?(:continue_uri) @custom_parameter = args[:custom_parameter] if args.key?(:custom_parameter) @hosted_domain = args[:hosted_domain] if args.key?(:hosted_domain) @identifier = args[:identifier] if args.key?(:identifier) @oauth_consumer_key = args[:oauth_consumer_key] if args.key?(:oauth_consumer_key) @oauth_scope = args[:oauth_scope] if args.key?(:oauth_scope) @openid_realm = args[:openid_realm] if args.key?(:openid_realm) @ota_app = args[:ota_app] if args.key?(:ota_app) @provider_id = args[:provider_id] if args.key?(:provider_id) @session_id = args[:session_id] if args.key?(:session_id) end |