class Selenium::WebDriver::FedCM::Account

Represents an account displayed in a FedCm account list. See: w3c-fedid.github.io/FedCM/#dictdef-identityprovideraccount

https://w3c-fedid.github.io/FedCM/#webdriver-accountlist

Constants

LOGIN_STATE_SIGNIN
LOGIN_STATE_SIGNUP

Attributes

account_id[R]
email[R]
given_name[R]
idp_config_url[R]
login_state[R]
name[R]
picture_url[R]
privacy_policy_url[R]
terms_of_service_url[R]

Public Class Methods

new(**args) click to toggle source

steep:ignore:start

# File 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