Class: Selenium::WebDriver::FedCM::Account
Relationships & Source Files | |
Inherits: | Object |
Defined in: | rb/lib/selenium/webdriver/common/fedcm/account.rb |
Overview
Represents an account displayed in a FedCm account list. See: w3c-fedid.github.io/FedCM/#dictdef-identityprovideraccount w3c-fedid.github.io/FedCM/#webdriver-accountlist
Constant Summary
-
LOGIN_STATE_SIGNIN =
# File 'rb/lib/selenium/webdriver/common/fedcm/account.rb', line 27'SignIn'
-
LOGIN_STATE_SIGNUP =
# File 'rb/lib/selenium/webdriver/common/fedcm/account.rb', line 28'SignUp'
Class Method Summary
-
.new(**args) ⇒ Account
constructor
steep:ignore:start.
Instance Attribute Summary
- #account_id readonly
- #email readonly
- #given_name readonly
- #idp_config_url readonly
- #login_state readonly
- #name readonly
- #picture_url readonly
- #privacy_policy_url readonly
- #terms_of_service_url readonly
Constructor Details
.new(**args) ⇒ Account
steep:ignore:start
# File 'rb/lib/selenium/webdriver/common/fedcm/account.rb', line 34
def initialize(**args) @account_id = args['accountId'] @email = args['email'] @name = args['name'] @given_name = args['givenName'] @picture_url = args['pictureUrl'] @idp_config_url = args['idpConfigUrl'] @login_state = args['loginState'] @terms_of_service_url = args['termsOfServiceUrl'] @privacy_policy_url = args['privacyPolicyUrl'] end
Instance Attribute Details
#account_id (readonly)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/fedcm/account.rb', line 30
attr_reader :account_id, :email, :name, :given_name, :picture_url, :idp_config_url, :login_state, :terms_of_service_url, :privacy_policy_url
#email (readonly)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/fedcm/account.rb', line 30
attr_reader :account_id, :email, :name, :given_name, :picture_url, :idp_config_url, :login_state, :terms_of_service_url, :privacy_policy_url
#given_name (readonly)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/fedcm/account.rb', line 30
attr_reader :account_id, :email, :name, :given_name, :picture_url, :idp_config_url, :login_state, :terms_of_service_url, :privacy_policy_url
#idp_config_url (readonly)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/fedcm/account.rb', line 30
attr_reader :account_id, :email, :name, :given_name, :picture_url, :idp_config_url, :login_state, :terms_of_service_url, :privacy_policy_url
#login_state (readonly)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/fedcm/account.rb', line 30
attr_reader :account_id, :email, :name, :given_name, :picture_url, :idp_config_url, :login_state, :terms_of_service_url, :privacy_policy_url
#name (readonly)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/fedcm/account.rb', line 30
attr_reader :account_id, :email, :name, :given_name, :picture_url, :idp_config_url, :login_state, :terms_of_service_url, :privacy_policy_url
#picture_url (readonly)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/fedcm/account.rb', line 30
attr_reader :account_id, :email, :name, :given_name, :picture_url, :idp_config_url, :login_state, :terms_of_service_url, :privacy_policy_url
#privacy_policy_url (readonly)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/fedcm/account.rb', line 30
attr_reader :account_id, :email, :name, :given_name, :picture_url, :idp_config_url, :login_state, :terms_of_service_url, :privacy_policy_url
#terms_of_service_url (readonly)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/fedcm/account.rb', line 30
attr_reader :account_id, :email, :name, :given_name, :picture_url, :idp_config_url, :login_state, :terms_of_service_url, :privacy_policy_url