Path: blob/trunk/javascript/selenium-webdriver/lib/fedcm/account.js
2885 views
// Licensed to the Software Freedom Conservancy (SFC) under one1// or more contributor license agreements. See the NOTICE file2// distributed with this work for additional information3// regarding copyright ownership. The SFC licenses this file4// to you under the Apache License, Version 2.0 (the5// "License"); you may not use this file except in compliance6// with the License. You may obtain a copy of the License at7//8// http://www.apache.org/licenses/LICENSE-2.09//10// Unless required by applicable law or agreed to in writing,11// software distributed under the License is distributed on an12// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY13// KIND, either express or implied. See the License for the14// specific language governing permissions and limitations15// under the License.1617class Account {18constructor(19accountId,20email,21name,22givenName,23pictureUrl,24idpConfigUrl,25loginState,26termsOfServiceUrl,27privacyPolicyUrl,28) {29this._accountId = accountId30this._email = email31this._name = name32this._givenName = givenName33this._pictureUrl = pictureUrl34this._idpConfigUrl = idpConfigUrl35this._loginState = loginState36this._termsOfServiceUrl = termsOfServiceUrl37this._privacyPolicyUrl = privacyPolicyUrl38}3940get accountId() {41return this._accountId42}4344get email() {45return this._email46}4748get name() {49return this._name50}5152get givenName() {53return this._givenName54}5556get pictureUrl() {57return this._pictureUrl58}5960get idpConfigUrl() {61return this._idpConfigUrl62}6364get loginState() {65return this._loginState66}6768get termsOfServiceUrl() {69return this._termsOfServiceUrl70}7172get privacyPolicyUrl() {73return this._privacyPolicyUrl74}75}7677module.exports = Account787980