provide mocks for webfinger endpoints
This commit is contained in:
parent
1357ec1a10
commit
dc6d20b68d
8 changed files with 246 additions and 0 deletions
31
test/fixtures/tesla_mock/stopwatchingus-heidelberg.de_host_meta
vendored
Normal file
31
test/fixtures/tesla_mock/stopwatchingus-heidelberg.de_host_meta
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"links":[
|
||||
{
|
||||
"rel":"lrdd",
|
||||
"type":"application\/jrd+json",
|
||||
"template":"https:\/\/social.stopwatchingus-heidelberg.de\/.well-known\/webfinger?resource={uri}"
|
||||
},
|
||||
{
|
||||
"rel":"lrdd",
|
||||
"type":"application\/json",
|
||||
"template":"https:\/\/social.stopwatchingus-heidelberg.de\/.well-known\/webfinger?resource={uri}"
|
||||
},
|
||||
{
|
||||
"rel":"lrdd",
|
||||
"type":"application\/xrd+xml",
|
||||
"template":"https:\/\/social.stopwatchingus-heidelberg.de\/.well-known\/webfinger?resource={uri}"
|
||||
},
|
||||
{
|
||||
"rel":"http:\/\/apinamespace.org\/oauth\/access_token",
|
||||
"href":"https:\/\/social.stopwatchingus-heidelberg.de\/api\/oauth\/access_token"
|
||||
},
|
||||
{
|
||||
"rel":"http:\/\/apinamespace.org\/oauth\/request_token",
|
||||
"href":"https:\/\/social.stopwatchingus-heidelberg.de\/api\/oauth\/request_token"
|
||||
},
|
||||
{
|
||||
"rel":"http:\/\/apinamespace.org\/oauth\/authorize",
|
||||
"href":"https:\/\/social.stopwatchingus-heidelberg.de\/api\/oauth\/authorize"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue