Make the encoding utils public.
This commit is contained in:
parent
abe03ffc55
commit
a740d4ce54
@ -16,7 +16,8 @@
|
||||
|
||||
import std/json, std/options, std/times
|
||||
|
||||
import ./private/encoding
|
||||
import ./encoding
|
||||
|
||||
import ./private/jsonutils
|
||||
import ./private/timeutils
|
||||
|
||||
|
@ -16,8 +16,7 @@
|
||||
|
||||
import std/json, std/options, std/sequtils, std/strutils
|
||||
|
||||
import ./jwa, ./jwk
|
||||
import ./private/encoding
|
||||
import ./encoding, ./jwa, ./jwk
|
||||
import ./private/jsonutils
|
||||
|
||||
type
|
||||
|
@ -13,10 +13,10 @@
|
||||
import std/json, std/logging, std/options, std/sequtils, std/strutils
|
||||
|
||||
import ./private/crypto
|
||||
import ./private/encoding
|
||||
import ./private/jsonutils
|
||||
|
||||
import ./claims
|
||||
import ./encoding
|
||||
import ./joseheader
|
||||
import ./jwa
|
||||
import ./jwk
|
||||
|
@ -1,11 +1,10 @@
|
||||
import std/tables
|
||||
import bearssl, bearssl_pkey_decoder
|
||||
|
||||
import ../../encoding
|
||||
import ../../jwa
|
||||
import ../../jwk
|
||||
|
||||
import ../encoding
|
||||
|
||||
import ./hash
|
||||
import ./pem
|
||||
|
||||
|
@ -2,11 +2,10 @@ import std/logging
|
||||
|
||||
import bearssl
|
||||
|
||||
import ../../encoding
|
||||
import ../../jwa
|
||||
import ../../jwk
|
||||
|
||||
import ../encoding
|
||||
|
||||
proc bearHMAC(message: string, alg: JwtAlgorithm, key: string): string =
|
||||
|
||||
var vtable: ptr HashClass
|
||||
|
@ -1,11 +1,10 @@
|
||||
import std/options, std/tables
|
||||
import bearssl, bearssl_pkey_decoder
|
||||
|
||||
import ../../encoding
|
||||
import ../../jwa
|
||||
import ../../jwk
|
||||
|
||||
import ../encoding
|
||||
|
||||
import ./hash
|
||||
import ./pem
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user