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.
-
#tenant_id ⇒ String
For multi-tenant use cases, in order to construct sign-in URL with the correct IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs from.
-
#tenant_project_number ⇒ Fixnum
Tenant project number to be used for idp discovery.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateAuthUriRequest
constructor
A new instance of CreateAuthUriRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateAuthUriRequest
Returns a new instance of CreateAuthUriRequest.
434 435 436 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 434 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
347 348 349 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 347 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
353 354 355 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 353 def auth_flow_type @auth_flow_type end |
#client_id ⇒ String
The relying party OAuth client ID.
Corresponds to the JSON property clientId
358 359 360 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 358 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
364 365 366 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 364 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
369 370 371 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 369 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
376 377 378 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 376 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
382 383 384 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 382 def hosted_domain @hosted_domain end |
#identifier ⇒ String
The email or federated ID of the user.
Corresponds to the JSON property identifier
387 388 389 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 387 def identifier @identifier end |
#oauth_consumer_key ⇒ String
The developer's consumer key for OpenId OAuth Extension
Corresponds to the JSON property oauthConsumerKey
392 393 394 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 392 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
398 399 400 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 398 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
404 405 406 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 404 def openid_realm @openid_realm end |
#ota_app ⇒ String
The native app package for OTA installation.
Corresponds to the JSON property otaApp
409 410 411 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 409 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
415 416 417 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 415 def provider_id @provider_id end |
#session_id ⇒ String
The session_id passed by client.
Corresponds to the JSON property sessionId
420 421 422 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 420 def session_id @session_id end |
#tenant_id ⇒ String
For multi-tenant use cases, in order to construct sign-in URL with the correct
IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs
from.
Corresponds to the JSON property tenantId
427 428 429 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 427 def tenant_id @tenant_id end |
#tenant_project_number ⇒ Fixnum
Tenant project number to be used for idp discovery.
Corresponds to the JSON property tenantProjectNumber
432 433 434 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 432 def tenant_project_number @tenant_project_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 439 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) @tenant_id = args[:tenant_id] if args.key?(:tenant_id) @tenant_project_number = args[:tenant_project_number] if args.key?(:tenant_project_number) end |