Skip to content

Commit

Permalink
Merge pull request #261 from gewill/master
Browse files Browse the repository at this point in the history
Modify JWT access level to public
  • Loading branch information
AvdLee authored Mar 7, 2024
2 parents 7665555 + ef63e43 commit a08419a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/JWT/JWT.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protocol JWTCreatable {
func signedToken(using privateKey: JWT.PrivateKey) throws -> JWT.Token
}

struct JWT: Codable, JWTCreatable {
public struct JWT: Codable, JWTCreatable {

public enum Error: Swift.Error, LocalizedError {

Expand All @@ -70,8 +70,8 @@ struct JWT: Codable, JWTCreatable {
}
}

typealias Token = String
typealias PrivateKey = P256.Signing.PrivateKey
public typealias Token = String
public typealias PrivateKey = P256.Signing.PrivateKey

typealias DateProvider = () -> Date
static let defaultDateProvider: DateProvider = {
Expand Down

0 comments on commit a08419a

Please sign in to comment.