mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-19 12:53:01 -06:00
Webfinger + Small fixes (#20)
This commit is contained in:
parent
41915ab371
commit
dc338dc881
16 changed files with 246 additions and 40 deletions
|
|
@ -108,6 +108,9 @@ type Processor interface {
|
|||
// GetFediUser handles the getting of a fedi/activitypub representation of a user/account, performing appropriate authentication
|
||||
// before returning a JSON serializable interface to the caller.
|
||||
GetFediUser(requestedUsername string, request *http.Request) (interface{}, ErrorWithCode)
|
||||
|
||||
// GetWebfingerAccount handles the GET for a webfinger resource. Most commonly, it will be used for returning account lookups.
|
||||
GetWebfingerAccount(requestedUsername string, request *http.Request) (*apimodel.WebfingerAccountResponse, ErrorWithCode)
|
||||
}
|
||||
|
||||
// processor just implements the Processor interface
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue