Implemented the Authentication endpoints (#9)

This PR contains the work done to implement the *Authentication* endpoints of the Discogs API:
* GET `/oauth/request_token`
* POST `/oauth/access_token`
* GET `/oauth/identity`

Reviewed-on: #9
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
This commit was merged in pull request #9.
This commit is contained in:
2025-10-13 17:55:48 +00:00
committed by Javier Cicchelli
parent de5b4ff5d0
commit 9a30b69561
2517 changed files with 2674 additions and 2160 deletions
@@ -1 +1 @@
{"topicSections":[{"anchor":"Instance-Properties","generated":true,"title":"Instance Properties","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/localizedDescription"]}],"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/Error-Implementations","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/inputvalidationerror\/error-implementations"]}],"metadata":{"role":"collectionGroup","roleHeading":"API Collection","title":"Error Implementations","modules":[{"name":"DiscogsService"}]},"kind":"article","schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"references":{"doc://DiscogsService/documentation/DiscogsService/InputValidationError":{"type":"topic","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"InputValidationError"}],"navigatorTitle":[{"kind":"identifier","text":"InputValidationError"}],"title":"InputValidationError","url":"\/documentation\/discogsservice\/inputvalidationerror","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError","abstract":[{"text":"A representation of all the possible validation error that could be thrown while validating an input.","type":"text"}]},"doc://DiscogsService/documentation/DiscogsService/InputValidationError/localizedDescription":{"type":"topic","title":"localizedDescription","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/localizedDescription","abstract":[{"text":"Retrieve the localized description for this error.","type":"text"}],"kind":"symbol","url":"\/documentation\/discogsservice\/inputvalidationerror\/localizeddescription","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"localizedDescription"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}]},"doc://DiscogsService/documentation/DiscogsService":{"type":"topic","title":"DiscogsService","url":"\/documentation\/discogsservice","role":"collection","abstract":[],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService"}}}
{"kind":"article","topicSections":[{"anchor":"Instance-Properties","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/localizedDescription"],"generated":true,"title":"Instance Properties"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"title":"Error Implementations","modules":[{"name":"DiscogsService"}],"role":"collectionGroup","roleHeading":"API Collection"},"sections":[],"variants":[{"paths":["\/documentation\/discogsservice\/inputvalidationerror\/error-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/Error-Implementations"},"references":{"doc://DiscogsService/documentation/DiscogsService/InputValidationError/localizedDescription":{"type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"localizedDescription"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"localizedDescription","abstract":[{"text":"Retrieve the localized description for this error.","type":"text"}],"role":"symbol","url":"\/documentation\/discogsservice\/inputvalidationerror\/localizeddescription","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/localizedDescription"},"doc://DiscogsService/documentation/DiscogsService":{"title":"DiscogsService","abstract":[],"role":"collection","type":"topic","kind":"symbol","url":"\/documentation\/discogsservice","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService"},"doc://DiscogsService/documentation/DiscogsService/InputValidationError":{"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError","title":"InputValidationError","url":"\/documentation\/discogsservice\/inputvalidationerror","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"InputValidationError"}],"abstract":[{"type":"text","text":"A representation of all the possible validation error that could be thrown while validating an input."}],"role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"InputValidationError"}]}}}