GitLab now enforces expiry dates on tokens that originally had no set expiration date. Those tokens were given an expiration date of one year later. Please review your personal access tokens, project access tokens, and group access tokens to ensure you are aware of upcoming expirations. Administrators of GitLab can find more information on how to identify and mitigate interruption in our documentation.
You could need to provide your own class for a type, for example to implement https://www.w3.org/wiki/SocialCG/ActivityPub/Authentication_Authorization.
Imagine you want an Service having a ```publicKey``` property.
After that, factory will create a new ```My_ActiviyPub_Service``` for any json object with ```"type": "Service"``` instead of a ```\\Patbator\\ActivityStreams\\Model\\Service```.