See also: rfc7033
Resolve by user name
The username is the name of the user followed by the rdf-pub servers domain. Usually that is what users share with you.
If the rdf-pub server is running on a local machine, thas can be
or if the rdf-pub server is running on https://dev.rdf-pub.org:
Response
{ "subject": "acct:max@localhost:8081", "links": [ { "rel": "self", "type": "application/activity+json", "href": "http://localhost:8081/actor/753bf160-b5c9-40dd-9068-df70dbfbf500" } ] }
Resolve by userId
In rdf-pub you can use the user id of the Oauth2 Server to resolve a user via webfinger.
Response
{ "subject": "acct:000355e3-9e35-4548-8590-36247b389dcf", "links": [ { "rel": "self", "type": "application/activity+json", "href": "http://localhost:8081/actor/000355e3-9e35-4548-8590-36247b389dcf" } ] }