Skip to content

LLCFreedom-Space/fs-json-web-token

[![Swift Version][swift-image]][swift-url] [![License][license-image]][license-url] GitHub release (with filter) Read the Docs example workflow example workflow example workflow codecov

FS Json Web Token

Quick implementation of json web token.

Swift version

The latest version of JsonWebToken requires Swift 5.9 and MacOS v13 or later. You can download this version of the Swift binaries by following this link.

Usage

Swift Package Manager

Add dependencies using the version

Add the JsonWebToken package to the dependencies within your application’s Package.swift file. Substitute "x.x.x" with the latest JsonWebToken release.

.package(url: "https://github.com/LLCFreedom-Space/fs-json-web-token.git", from: "x.x.x")

Add JsonWebToken to your target's dependencies:

.target(name: "JsonWebToken", dependencies: ["JsonWebToken"]),

Import package

import JsonWebToken

Add dependencies using the branch

Add the JsonWebToken package to the dependencies within your application’s Package.swift file. Substitute "name branch" with the latest JsonWebToken release.

.package(url: "https://github.com/LLCFreedom-Space/fs-json-web-token.git", branch: "name branch")

Add JsonWebToken to your target's dependencies:

.target(name: "JsonWebToken", dependencies: ["JsonWebToken"]),

Import package

import JsonWebToken

Getting Started

An example of a method call from this library In routes.swift you need to call one of the middleware or you can all two of them.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages