Files
discogs-service/docs/data/documentation/discogsservice/authmethod.json
T

1 line
9.2 KiB
JSON
Raw Normal View History

{"seeAlsoSections":[{"identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/AuthMiddleware","doc:\/\/DiscogsService\/documentation\/DiscogsService\/AuthTransport"],"generated":true,"title":"Authentication","anchor":"Authentication"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AuthMethod","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}]},{"content":[{"text":"Overview","type":"heading","level":2,"anchor":"overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The differences between these authentication methods."}]},{"type":"table","header":"row","alignments":["unset","center","center","center"],"rows":[[[{"inlineContent":[{"type":"text","text":"Credentials in request"}],"type":"paragraph"}],[{"inlineContent":[{"type":"text","text":"Rate limiting?"}],"type":"paragraph"}],[{"inlineContent":[{"type":"text","text":"Image URLs?"}],"type":"paragraph"}],[{"inlineContent":[{"type":"text","text":"Authenticated as user?"}],"type":"paragraph"}]],[[{"inlineContent":[{"type":"text","text":"None"}],"type":"paragraph"}],[{"inlineContent":[{"type":"text","text":"🐢 Low tier"}],"type":"paragraph"}],[{"inlineContent":[{"text":"❌ No","type":"text"}],"type":"paragraph"}],[{"inlineContent":[{"type":"text","text":"❌ No"}],"type":"paragraph"}]],[[{"type":"paragraph","inlineContent":[{"text":"Only Consumer key\/secret","type":"text"}]}],[{"inlineContent":[{"text":"🐰 High tier","type":"text"}],"type":"paragraph"}],[{"type":"paragraph","inlineContent":[{"type":"text","text":"✔️ Yes"}]}],[{"type":"paragraph","inlineContent":[{"text":"❌ No","type":"text"}]}]],[[{"type":"paragraph","inlineContent":[{"text":"Personal access token","type":"text"}]}],[{"type":"paragraph","inlineContent":[{"text":"🐰 High tier","type":"text"}]}],[{"type":"paragraph","inlineContent":[{"text":"✔️ Yes","type":"text"}]}],[{"inlineContent":[{"type":"text","text":"✔️ Yes, for token holder only 👩"}],"type":"paragraph"}]]]},{"type":"paragraph","inlineContent":[{"text":"Please refer to the ","type":"text"},{"identifier":"https:\/\/www.discogs.com\/developers#page:authentication,header:authentication-discogs-auth-flow","isActive":true,"type":"reference"},{"text":" for further details.","type":"text"}]}],"kind":"content"}],"abstract":[{"text":"A representation of the available authentication methods at the Discogs service.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/authmethod"]}],"identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/AuthMethod","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","topicSections":[{"generated":true,"anchor":"Enumeration-Cases","title":"Enumeration Cases","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/AuthMethod\/consumer(key:secret:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/AuthMethod\/none","doc:\/\/DiscogsService\/documentation\/DiscogsService\/AuthMethod\/user(token:)"]},{"generated":true,"anchor":"Default-Implementations","title":"Default Implementations","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/AuthMethod\/Equatable-Implementations"]}],"metadata":{"modules":[{"name":"DiscogsService"}],"roleHeading":"Enumeration","navigatorTitle":[{"kind":"identifier","text":"AuthMethod"}],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AuthMethod","kind":"identifier"}],"symbolKind":"enum","externalID":"s:14DiscogsService10AuthMethodO","title":"AuthMethod","role":"symbol"},"relationshipsSections":[{"kind":"relationships","identifiers":["doc:\/\/DiscogsService\/SQ","doc:\/\/DiscogsService\/s8SendableP","doc:\/\/DiscogsService\/s16SendableMetatypeP"],"type":"conformsTo","title":"Conforms To"}],"references":{"doc://DiscogsService/s16SendableMetatypeP":{"identi