View Source ExUid2.Uid2 (ex_uid2 v0.1.0)
Struct holding the decrypted and parsed UID2 token
Fields:
:uid
- User's unique ID:established_ms
- The time when the token was first created (Unix timestamp in milliseconds):site_id
- The site's ID used for finding the right decryption keysite_key
- The key found in the Keyring for the givensite_id
identity_scope
- The identity scope found in the keyring (should probably always be "UID2")identity_type
- Unknownadvertising_token_version
- The token version.expires_ms
- The time after which the token will be expired (Unix timestamp in milliseconds)
Summary
Types
@type t() :: %ExUid2.Uid2{ advertising_token_version: non_neg_integer(), established_ms: non_neg_integer(), expires_ms: non_neg_integer(), identity_scope: binary(), identity_type: any(), site_id: non_neg_integer(), site_key: ExUid2.Keyring.Key.t(), uid: binary() }