Part of lp.soyuz.interfaces.archiveauthtoken View In Hierarchy
Known subclasses: lp.soyuz.interfaces.archiveauthtoken.IArchiveAuthToken
Int | id | Undocumented |
Attribute | person_id | db person value |
Datetime | date_created | The timestamp when the token was created. |
Datetime | date_deactivated | The timestamp when the token was de-activated. |
TextLine | token | The access token to the archive for this person. |
TextLine | archive_url | External archive URL including basic auth for this person |
TextLine | name | The name in the case of a named authorization token, or None. |
Method | deactivate | Deactivate the token by setting date_deactivated to UTC_NOW. |
Method | asDict | Returns a dictionary where the value of token is the secret and |
token
is the secret and
the value of archive_url
is the externally-usable archive URL
including basic auth.