Package Torello.Browser.BrowserAPI
Class FedCm.Account
- java.lang.Object
-
- Torello.Browser.BaseType<FedCm.Account>
-
- Torello.Browser.BrowserAPI.FedCm.Account
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- FedCm
public static class FedCm.Account extends BaseType<FedCm.Account> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in theFedCmdomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.Corresponds to IdentityRequestAccount- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/FedCm.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/FedCm.java
File Size: 3,499 Bytes Line Count: 90 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: FedCm$$Account$$.java
- Open New Browser-Tab: FedCm$$Account$$.java
File Size: 12,640 Bytes Line Count: 303 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description StringaccountId[No Description Provided by Google]Stringemail[No Description Provided by Google]StringgivenName[No Description Provided by Google]StringidpConfigUrl[No Description Provided by Google]StringidpLoginUrl[No Description Provided by Google]StringloginState[No Description Provided by Google]Stringname[No Description Provided by Google]StringpictureUrl[No Description Provided by Google]StringprivacyPolicyUrl[No Description Provided by Google]StringtermsOfServiceUrlThese two are only set if the loginState is signUp-
Fields inherited from class Torello.Browser.BaseType
domain, helperSingleton, isPresent, numFields
-
-
Constructor Summary
Constructors Constructor Description Account(ReadOnlyList<Boolean> isPresent, String accountId, String email, String name, String givenName, String pictureUrl, String idpConfigUrl, String idpLoginUrl, String loginState, String termsOfServiceUrl, String privacyPolicyUrl)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static FedCm.AccountfromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<FedCm.Account>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
-
accountId
public final java.lang.String accountId
[No Description Provided by Google]
-
email
public final java.lang.String email
[No Description Provided by Google]
-
name
public final java.lang.String name
[No Description Provided by Google]
-
givenName
public final java.lang.String givenName
[No Description Provided by Google]
-
pictureUrl
public final java.lang.String pictureUrl
[No Description Provided by Google]
-
idpConfigUrl
public final java.lang.String idpConfigUrl
[No Description Provided by Google]
-
idpLoginUrl
public final java.lang.String idpLoginUrl
[No Description Provided by Google]
-
loginState
public final java.lang.String loginState
[No Description Provided by Google]This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:
📎FedCm.LoginState
Programmatically Accessing the Enum:
// Retrieve the list of enumerated strings for this field ReadOnlyList<String> enumerationStrs = FedCm.LoginState.enumStrList("loginState"); // Print the list of strings to the terminal for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
- See Also:
BaseType.enumStrList(String)
-
termsOfServiceUrl
public final java.lang.String termsOfServiceUrl
These two are only set if the loginState is signUp
OPTIONAL
-
privacyPolicyUrl
public final java.lang.String privacyPolicyUrl
[No Description Provided by Google]
OPTIONAL
-
-
Constructor Detail
-
Account
public Account(ReadOnlyList<java.lang.Boolean> isPresent, java.lang.String accountId, java.lang.String email, java.lang.String name, java.lang.String givenName, java.lang.String pictureUrl, java.lang.String idpConfigUrl, java.lang.String idpLoginUrl, java.lang.String loginState, java.lang.String termsOfServiceUrl, java.lang.String privacyPolicyUrl)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static FedCm.Account fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<FedCm.Account> descriptor()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-