Open up the Application tab again, but this time let's look at the IndexedDB section. In there, you will find a collection called myapplication, which contains several tables. Click on the table called facts.
Within this collection, you will see one fact that is the
It represents your identity, since you are the person who logged in using Twitter.
Expand this fact, and you will see it has fields.
More precisely, it has one field, the
Jinaga randomly assigned this public key to you when you logged in using Twitter.
Next look at the fact of type
You will see that it has a single field -- called
value -- which holds a string that you might recognize.
As exciting as this is, the even more exciting part is that the name pas
One of these predecessors is called
user, and if you compare the hash carefully you will see that it points back to the previous fact.
What you see here is the storage format for a fact.
In code, they actually appear in a more direct and useful form.
You can see how one of these is created in
Pay special attention to the
The constructor is called in
You can flip back and forth between this constructor and its call site to see how this object is created.
type will always be
'MyApplication.User.Name', as given by the constant.
user will be the user fact.
value field is the user handle that comes back from Twitter when they log in.
prior field is an array.
publicKey: `-----BEGIN PUBLIC KEY-----\r\n
-----END PUBLIC KEY-----\r\n`