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 @@
{"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"text":"An input does not comply with the consumer key requirements.","type":"text"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotConsumerKey"},"metadata":{"role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"inputNotConsumerKey"}],"externalID":"s:14DiscogsService20InputValidationErrorO19inputNotConsumerKeyyA2CmF","modules":[{"name":"DiscogsService"}],"title":"InputValidationError.inputNotConsumerKey","symbolKind":"case","roleHeading":"Case"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/inputvalidationerror\/inputnotconsumerkey"]}],"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError"]]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"inputNotConsumerKey"}]}],"kind":"declarations"}],"kind":"symbol","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":{"type":"topic","title":"DiscogsService","url":"\/documentation\/discogsservice","role":"collection","abstract":[],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService"},"doc://DiscogsService/documentation/DiscogsService/InputValidationError/inputNotConsumerKey":{"type":"topic","title":"InputValidationError.inputNotConsumerKey","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotConsumerKey","abstract":[{"text":"An input does not comply with the consumer key requirements.","type":"text"}],"kind":"symbol","url":"\/documentation\/discogsservice\/inputvalidationerror\/inputnotconsumerkey","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"inputNotConsumerKey","kind":"identifier"}]}}}
{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"inputNotConsumerKey"}]}]}],"abstract":[{"type":"text","text":"An input does not comply with the consumer key requirements."}],"variants":[{"paths":["\/documentation\/discogsservice\/inputvalidationerror\/inputnotconsumerkey"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","sections":[],"metadata":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"inputNotConsumerKey","kind":"identifier"}],"title":"InputValidationError.inputNotConsumerKey","symbolKind":"case","modules":[{"name":"DiscogsService"}],"roleHeading":"Case","role":"symbol","externalID":"s:14DiscogsService20InputValidationErrorO19inputNotConsumerKeyyA2CmF"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError"]]},"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotConsumerKey","interfaceLanguage":"swift"},"references":{"doc://DiscogsService/documentation/DiscogsService/InputValidationError/inputNotConsumerKey":{"url":"\/documentation\/discogsservice\/inputvalidationerror\/inputnotconsumerkey","type":"topic","kind":"symbol","title":"InputValidationError.inputNotConsumerKey","abstract":[{"type":"text","text":"An input does not comply with the consumer key requirements."}],"role":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/InputValidationError\/inputNotConsumerKey","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"inputNotConsumerKey"}]},"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"}]},"doc://DiscogsService/documentation/DiscogsService":{"title":"DiscogsService","abstract":[],"role":"collection","type":"topic","kind":"symbol","url":"\/documentation\/discogsservice","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService"}}}