Expand description
.ph/user/... endpoints, used by the (‘global’) web client
Structs§
- Auth
Token - An opaque token used to identify the user towards pubhubs central via the
Authorizationheader. The token can be obtained via theEnterEP, and be refreshed via theRefreshEP. - Auth
Token Package - An
AuthTokenwith some additional information. - Cached
HubInfoEP - Provides the global client with cached details about the hubs
- Cached
HubInfo Resp - Returned by
CachedHubInfoEP. - Card
Pseud - A registration pseudonym used on pubhubs cards
- Card
PseudEP - Requests the ‘registration pseudonym’ used on PubHubs cards issued for this account. Requires authentication.
- Card
Pseud Package - A registration pseudonym coupled with the registration date.
- EnterEP
- Login (and register if needed)
- Enter
Req - Request to log in to an existing account, or register a new one.
- GetObjectEP
- Retrieves a user object with the given
hashfrom PubHubs central - HhppEP
- Requests an
sso::HashedHubPseudonymPackage. Requires authentication. - HhppReq
- Request type for
HhppEP - NewObjectEP
- Stores a new object at pubhubs central, under the given
handle. - Overwrite
ObjectEP - Stores an object at pubhubs central under the given
handle, overwriting the previous object stored there. - PpNonce
- Type of
sso::PolymorphicPseudonymPackage::nonce - PppEP
- Requests an
sso::PolymorphicPseudonymPackage. Requires authentication. - Quota
- Quota for a user
- RefreshEP
- Refresh authentication token. Requires authentication, but the access token used to authenticate may be expired.
- StateEP
- Get state of the current user
- User
Object Details - Details on an object stored at pubhubs central for a user.
- User
State - State of a user’s account at pubhubs as shown to the user.
- WelcomeEP
- Provides the global client with basic details about the current PubHubs setup.
- Welcome
Resp - Returned by
WelcomeEP.
Enums§
- Attr
AddStatus - Result of trying to add an attribute via
EnterEP. - Auth
Token Denied Reason - Why no auth token was granted
- Card
Pseud Resp - Returned by
CardPseudEP. - Enter
Mode - Whether to login, register, or both.
- Enter
Resp - Returned by
EnterEP. - GetObject
Resp - Returned by
GetObjectEPwhen there’s a problem. When there’s no problem an octet stream is returned instead. - Hhpp
Resp - Returned by
HhppEP. - PppResp
- Returned by
PppEP. - Quotum
Name - The different quota used in
Quota. - Refresh
Resp - Returned by
RefreshEP. - State
Resp - Result of retrieving a user’s state
- Store
Object Resp - Returned by
NewObjectEPandOverwriteObjectEP.