|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Account
The Account interface describes the an account held by a person. Describes an account held by a Person, which MAY be on the Service Provider's service, or MAY be on a different service. The service provider does not have a requirement to verify that the account actually belongs to the person that the account is connected to, and consumers are appropriately warned of this in the Specification.
For each account, the domain is the top-most authoritative domain for this account, e.g. yahoo.com or reader.google.com, and MUST be non-empty. Each account must also contain a non-empty value for either username or userid, and MAY contain both, in which case the two values MUST be for the same account. These accounts can be used to determine if a user on one service is also known to be the same person on a different service, to facilitate connecting to people the user already knows on different services.
Since V0.8.1
| Nested Class Summary | |
|---|---|
static class |
Account.Field
The fields that represent the account object in json form. |
| Method Summary | |
|---|---|
String |
getDomain()
The top-most authoritative domain for this account, e.g. |
String |
getUserId()
A user ID number, usually chosen automatically, and usually numeric but sometimes alphanumeric, e.g. |
String |
getUsername()
An alphanumeric user name, usually chosen by the user, e.g. |
void |
setDomain(String domain)
The top-most authoritative domain for this account, e.g. |
void |
setUserId(String userId)
A user ID number, usually chosen automatically, and usually numeric but sometimes alphanumeric, e.g. |
void |
setUsername(String username)
An alphanumeric user name, usually chosen by the user, e.g. |
| Method Detail |
|---|
String getDomain()
void setDomain(String domain)
domain - the domainString getUserId()
void setUserId(String userId)
userId - the userIdString getUsername()
void setUsername(String username)
username - the username
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||