🍦 SwiftServe Get

Menu / packages / oauthswift

oauthswiftas of 2.2.0 · d85964b9

https://github.com/oauthswift/oauthswift

What it serves, where

CapabilityiOSmacOSwatchOStvOSvisionOSLinuxCatalyst
HTTP client

serves it · confidence 0.85 · as of 2.2.0

  • OAuthSwiftClient
    Sources/OAuthSwiftClient.swift:17
    View the line on GitHub →
    Signed HTTP client with get/post/put/delete/patch verbs; unconditional decl
  • OAuthSwiftClient.request
    Sources/OAuthSwiftClient.swift:72
    View the line on GitHub →
    Generic request entry point
  • OAuthSwiftHTTPRequest
    Sources/OAuthSwiftHTTPRequest.swift:18
    View the line on GitHub →
    URLSession-backed request type with configurable URLSessionFactory

serves it · confidence 0.85 · as of 2.2.0

serves it · confidence 0.70 · as of 2.2.0

  • OAuthSwiftClient
    Sources/OAuthSwiftClient.swift:17
    View the line on GitHub →
    Unconditional decl, digest-present on watchOS
  • OAuthSwiftHTTPRequest
    Sources/OAuthSwiftHTTPRequest.swift:18
    View the line on GitHub →
    Unconditional decl, digest-present on watchOS
  • OAuthViewController
    #if !(os(iOS) || os(tvOS)) && os(watchOS)
    Sources/Handler/OAuthWebViewController.swift:16
    View the line on GitHub →
    Explicit watchOS branch elsewhere in the module shows watchOS is a compile target the authors handled

serves it · confidence 0.80 · as of 2.2.0

  • OAuthSwiftClient
    Sources/OAuthSwiftClient.swift:17
    View the line on GitHub →
    Unconditional decl, digest-present on tvOS
  • OAuthSwiftHTTPRequest
    Sources/OAuthSwiftHTTPRequest.swift:18
    View the line on GitHub →
    Unconditional decl, digest-present on tvOS
  • OAuthViewController
    #if os(iOS) || os(tvOS)
    Sources/Handler/OAuthWebViewController.swift:13
    View the line on GitHub →
    Explicit tvOS branch elsewhere in the module shows tvOS is a handled compile target
?

not verified yet · confidence 0.40 · as of 2.2.0

  • OAuthSwiftClient
    Sources/OAuthSwiftClient.swift:17
    View the line on GitHub →
    Unconditional decl, digest-present on visionOS
  • OAuthViewController
    #if os(iOS) || os(tvOS)
    Sources/Handler/OAuthWebViewController.swift:13
    View the line on GitHub →
    No typealias branch covers visionOS while the unconditional OAuthWebViewController subclasses it — a visionOS build of the whole module (and thus this capability) is doubtful at 2.2.0; status left unknown
?

not verified yet · confidence 0.40 · as of 2.2.0

  • OAuthSwiftClient
    Sources/OAuthSwiftClient.swift:17
    View the line on GitHub →
    Unconditional decl, digest-present on linux; Package.swift adds swift-crypto under os(Linux) showing Linux intent
  • OAuthViewController
    #if os(iOS) || os(tvOS)
    Sources/Handler/OAuthWebViewController.swift:13
    View the line on GitHub →
    No branch covers linux while unconditional OAuthWebViewController subclasses OAuthViewController, and Sources lack a FoundationNetworking import for URLSession — Linux build unverified; status left unknown

serves it · confidence 0.80 · as of 2.2.0

  • OAuthSwiftClient
    Sources/OAuthSwiftClient.swift:17
    View the line on GitHub →
    Unconditional decl, digest-present on macCatalyst
  • ASWebAuthenticationURLHandler
    #if targetEnvironment(macCatalyst) || os(iOS)
    Sources/Handler/ASWebAuthenticationURLHandler.swift:14
    View the line on GitHub →
    Explicit macCatalyst guard elsewhere in the module shows Catalyst is a handled compile target
Multipart upload

serves it · confidence 0.85 · as of 2.2.0

  • OAuthSwiftMultipartData
    Sources/OAuthSwiftMultipartData.swift:11
    View the line on GitHub →
    Dedicated multipart part type (name/data/fileName/mimeType); unconditional decl
  • OAuthSwiftClient.postMultiPartRequest
    Sources/OAuthSwiftClient.swift:150
    View the line on GitHub →
    Multipart form-data request entry point
  • OAuthSwiftClient.makeMultiPartRequest
    Sources/OAuthSwiftClient.swift:113
    View the line on GitHub →
    Multipart request builder

serves it · confidence 0.85 · as of 2.2.0

  • OAuthSwiftMultipartData
    Sources/OAuthSwiftMultipartData.swift:11
    View the line on GitHub →
    Unconditional decl, digest-present on macOS
  • OAuthSwiftClient.postMultiPartRequest
    Sources/OAuthSwiftClient.swift:150
    View the line on GitHub →
    Unconditional decl, digest-present on macOS

serves it · confidence 0.70 · as of 2.2.0

  • OAuthSwiftMultipartData
    Sources/OAuthSwiftMultipartData.swift:11
    View the line on GitHub →
    Unconditional decl, digest-present on watchOS
  • OAuthSwiftClient.postMultiPartRequest
    Sources/OAuthSwiftClient.swift:150
    View the line on GitHub →
    Unconditional decl, digest-present on watchOS
  • OAuthViewController
    #if !(os(iOS) || os(tvOS)) && os(watchOS)
    Sources/Handler/OAuthWebViewController.swift:16
    View the line on GitHub →
    Explicit watchOS branch elsewhere in the module shows watchOS is a handled compile target

serves it · confidence 0.80 · as of 2.2.0

  • OAuthSwiftMultipartData
    Sources/OAuthSwiftMultipartData.swift:11
    View the line on GitHub →
    Unconditional decl, digest-present on tvOS
  • OAuthSwiftClient.postMultiPartRequest
    Sources/OAuthSwiftClient.swift:150
    View the line on GitHub →
    Unconditional decl, digest-present on tvOS
  • OAuthViewController
    #if os(iOS) || os(tvOS)
    Sources/Handler/OAuthWebViewController.swift:13
    View the line on GitHub →
    Explicit tvOS branch elsewhere in the module shows tvOS is a handled compile target
?

not verified yet · confidence 0.40 · as of 2.2.0

  • OAuthSwiftMultipartData
    Sources/OAuthSwiftMultipartData.swift:11
    View the line on GitHub →
    Unconditional decl, digest-present on visionOS
  • OAuthViewController
    #if os(iOS) || os(tvOS)
    Sources/Handler/OAuthWebViewController.swift:13
    View the line on GitHub →
    No typealias branch covers visionOS while the unconditional OAuthWebViewController subclasses it — a visionOS build of the module is doubtful at 2.2.0; status left unknown
?

not verified yet · confidence 0.40 · as of 2.2.0

  • OAuthSwiftMultipartData
    Sources/OAuthSwiftMultipartData.swift:11
    View the line on GitHub →
    Unconditional decl, digest-present on linux; Package.swift adds swift-crypto under os(Linux) showing Linux intent
  • OAuthViewController
    #if os(iOS) || os(tvOS)
    Sources/Handler/OAuthWebViewController.swift:13
    View the line on GitHub →
    No branch covers linux while unconditional OAuthWebViewController subclasses OAuthViewController, and Sources lack a FoundationNetworking import for URLSession — Linux build unverified; status left unknown

serves it · confidence 0.80 · as of 2.2.0

  • OAuthSwiftMultipartData
    Sources/OAuthSwiftMultipartData.swift:11
    View the line on GitHub →
    Unconditional decl, digest-present on macCatalyst
  • ASWebAuthenticationURLHandler
    #if targetEnvironment(macCatalyst) || os(iOS)
    Sources/Handler/ASWebAuthenticationURLHandler.swift:14
    View the line on GitHub →
    Explicit macCatalyst guard elsewhere in the module shows Catalyst is a handled compile target
OAuth flows

serves it · confidence 0.90 · as of 2.2.0

  • OAuth2Swift.authorize
    Sources/OAuth2Swift.swift:97
    View the line on GitHub →
    OAuth2 authorization-code flow entry point; unconditional decl, digest-present on iOS
  • OAuth1Swift.authorize
    Sources/OAuth1Swift.swift:76
    View the line on GitHub →
    OAuth1 three-legged flow entry point; unconditional decl
  • ASWebAuthenticationURLHandler
    #if targetEnvironment(macCatalyst) || os(iOS)
    Sources/Handler/ASWebAuthenticationURLHandler.swift:14
    View the line on GitHub →
    ASWebAuthenticationSession-based login UI handler, digest-present on iOS

serves it · confidence 0.85 · as of 2.2.0

serves it · confidence 0.70 · as of 2.2.0

  • OAuth2Swift.authorize
    Sources/OAuth2Swift.swift:97
    View the line on GitHub →
    Unconditional decl, digest-present on watchOS
  • OAuth1Swift.authorize
    Sources/OAuth1Swift.swift:76
    View the line on GitHub →
    Unconditional decl, digest-present on watchOS
  • OAuthViewController
    #if !(os(iOS) || os(tvOS)) && os(watchOS)
    Sources/Handler/OAuthWebViewController.swift:16
    View the line on GitHub →
    Explicit watchOS branch (OAuthViewController = WKInterfaceController); digest-present on watchOS only

serves it · confidence 0.80 · as of 2.2.0

  • OAuth2Swift.authorize
    Sources/OAuth2Swift.swift:97
    View the line on GitHub →
    Unconditional decl, digest-present on tvOS
  • OAuth1Swift.authorize
    Sources/OAuth1Swift.swift:76
    View the line on GitHub →
    Unconditional decl, digest-present on tvOS
  • OAuthViewController
    #if os(iOS) || os(tvOS)
    Sources/Handler/OAuthWebViewController.swift:13
    View the line on GitHub →
    Explicit tvOS branch of the web view controller layer; digest-present on tvOS
?

not verified yet · confidence 0.40 · as of 2.2.0

  • OAuth2Swift
    Sources/OAuth2Swift.swift:11
    View the line on GitHub →
    Core class is unconditional and digest-present on visionOS
  • OAuthViewController
    #if os(iOS) || os(tvOS)
    Sources/Handler/OAuthWebViewController.swift:13
    View the line on GitHub →
    gaps mark visionOS absent for every OAuthViewController typealias branch (iOS/tvOS, watchOS, OSX); the unconditional OAuthWebViewController subclasses OAuthViewController, so a visionOS build of 2.2.0 is doubtful — conflicting evidence, status left unknown
?

not verified yet · confidence 0.40 · as of 2.2.0

  • OAuth2Swift
    Sources/OAuth2Swift.swift:11
    View the line on GitHub →
    Core class is unconditional and digest-present on linux; Package.swift appends swift-crypto under os(Linux), signalling Linux intent (no platforms block to cite as manifestPlatforms)
  • OAuthViewController
    #if os(iOS) || os(tvOS)
    Sources/Handler/OAuthWebViewController.swift:13
    View the line on GitHub →
    No OAuthViewController typealias branch covers linux while the unconditional OAuthWebViewController subclasses it; Sources also lack a FoundationNetworking import for URLSession — Linux build unverified, status left unknown

serves it · confidence 0.80 · as of 2.2.0

  • OAuth2Swift.authorize
    Sources/OAuth2Swift.swift:97
    View the line on GitHub →
    Unconditional decl, digest-present on macCatalyst
  • ASWebAuthenticationURLHandler
    #if targetEnvironment(macCatalyst) || os(iOS)
    Sources/Handler/ASWebAuthenticationURLHandler.swift:14
    View the line on GitHub →
    Login UI handler explicitly guarded for macCatalyst; digest-present on macCatalyst

✓ serves it · ◐ with conditions · ✕ not served (proven) · ? not verified yet — hover any verdict for the receipt, click to pin it

Notes

HTTP client: HTTP client is OAuth-signed by design: OAuthSwiftClient wraps URLSession (URLSessionFactory at Sources/OAuthSwiftHTTPRequest.swift:432) with get/post/put/delete/patch plus a generic request method. Blind spot: 4 ObjC files unparsed.

Multipart upload: Dedicated public multipart API: OAuthSwiftMultipartData plus OAuthSwiftClient.makeMultiPartRequest/postMultiPartRequest/multiPartBody (Sources/OAuthSwiftClient.swift:113/150/133) and the postImage convenience (line 108). Blind spot: 4 ObjC files unparsed.

OAuth flows: OAuth1 and OAuth2 (including PKCE via OAuth2Swift.authorize at Sources/OAuth2Swift.swift:336 and token renewal via OAuth2Swift.renewAccessToken at :233) are implemented in unconditional Swift; only the login UI handlers are platform-guarded. Digest quirk: os(OSX)-guarded decls list macOS itself as absent in gaps, so macOS evidence rests on unconditional core decls plus README. Blind spot: 4 ObjC files unparsed; confidence kept at or below 0.9.

Badges for your README

Maintainer of oauthswift? These are yours — verified claims, linked to the receipts. Wrong verdict? That's a fix we want; see contribute.

verified badge
capability matrix badge
HTTP client badge
Multipart upload badge
OAuth flows badge