SwiftySimpleKeychain

A wrapper (written only in Swift) to make it really easy to deal with iOS, macOS, watchOS and Linux Keychain and store your user’s credentials securely. Based on Auth0’s SimpleKeychain (Thank you @Auth0!).

Table of Contents

Requirements

Platform Minimun Swift Version Installation Status
iOS 11.0+ 5.3 Cocoapods, Swifth Package Manager Fully Tested
macOS 10.12+ 5.3 Cocoapods, Swifth Package Manager Fully Tested
tvOS 9.0+ 5.3 Cocoapods, Swifth Package Manager Fully Tested
watchOS 5.0+ 5.3 Cocoapods, Swifth Package Manager Fully Tested
Ubuntu 20.04+ Latest Only Swifth Package Manager Unsupported
Windows Latest Only Swifth Package Manager Unsupported

Installation

Cocoapods

pod 'SwiftySimpleKeychain', '~> <<latest major version>>'

Swift Package Manager

// Inside Package definition
dependencies: [
    .package(url: "https://github.com/eaceto/SwiftySimpleKeychain.git", .upToNextMajor("<<latest major version>>"))
]

// Inside Target definition
dependencies: [
    "SwiftySimpleKeychain"
]

Documentation

Documentation of this library and its extensions is available in the project GitHub Page. https://eaceto.github.io/SwiftySimpleKeychain.

Documentation includes not also code documentation, but also code coverage and lint report.