Class: Selenium::WebDriver::FedCM::Account
- Inherits:
 - 
      Object
      
        
- Object
 - Selenium::WebDriver::FedCM::Account
 
 
- Defined in:
 - 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
https://w3c-fedid.github.io/FedCM/#webdriver-accountlist
  Constant Summary collapse
- LOGIN_STATE_SIGNIN =
 'SignIn'- LOGIN_STATE_SIGNUP =
 'SignUp'
Instance Attribute Summary collapse
- 
  
    
      #account_id  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute account_id.
 - 
  
    
      #email  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute email.
 - 
  
    
      #given_name  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute given_name.
 - 
  
    
      #idp_config_url  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute idp_config_url.
 - 
  
    
      #login_state  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute login_state.
 - 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute name.
 - 
  
    
      #picture_url  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute picture_url.
 - 
  
    
      #privacy_policy_url  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute privacy_policy_url.
 - 
  
    
      #terms_of_service_url  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute terms_of_service_url.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Account 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
steep:ignore:start.
 
Constructor Details
#initialize(**args) ⇒ Account
steep:ignore:start
      34 35 36 37 38 39 40 41 42 43 44  | 
    
      # 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  | 
  
Instance Attribute Details
#account_id ⇒ Object (readonly)
Returns the value of attribute account_id.
      30 31 32  | 
    
      # File 'lib/selenium/webdriver/common/fedcm/account.rb', line 30 def account_id @account_id end  | 
  
#email ⇒ Object (readonly)
Returns the value of attribute email.
      30 31 32  | 
    
      # File 'lib/selenium/webdriver/common/fedcm/account.rb', line 30 def email @email end  | 
  
#given_name ⇒ Object (readonly)
Returns the value of attribute given_name.
      30 31 32  | 
    
      # File 'lib/selenium/webdriver/common/fedcm/account.rb', line 30 def given_name @given_name end  | 
  
#idp_config_url ⇒ Object (readonly)
Returns the value of attribute idp_config_url.
      30 31 32  | 
    
      # File 'lib/selenium/webdriver/common/fedcm/account.rb', line 30 def idp_config_url @idp_config_url end  | 
  
#login_state ⇒ Object (readonly)
Returns the value of attribute login_state.
      30 31 32  | 
    
      # File 'lib/selenium/webdriver/common/fedcm/account.rb', line 30 def login_state @login_state end  | 
  
#name ⇒ Object (readonly)
Returns the value of attribute name.
      30 31 32  | 
    
      # File 'lib/selenium/webdriver/common/fedcm/account.rb', line 30 def name @name end  | 
  
#picture_url ⇒ Object (readonly)
Returns the value of attribute picture_url.
      30 31 32  | 
    
      # File 'lib/selenium/webdriver/common/fedcm/account.rb', line 30 def picture_url @picture_url end  | 
  
#privacy_policy_url ⇒ Object (readonly)
Returns the value of attribute privacy_policy_url.
      30 31 32  | 
    
      # File 'lib/selenium/webdriver/common/fedcm/account.rb', line 30 def privacy_policy_url @privacy_policy_url end  | 
  
#terms_of_service_url ⇒ Object (readonly)
Returns the value of attribute terms_of_service_url.
      30 31 32  | 
    
      # File 'lib/selenium/webdriver/common/fedcm/account.rb', line 30 def terms_of_service_url @terms_of_service_url end  |