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 std/json, std/options, std/times
|
||||||
|
|
||||||
import ./private/encoding
|
import ./encoding
|
||||||
|
|
||||||
import ./private/jsonutils
|
import ./private/jsonutils
|
||||||
import ./private/timeutils
|
import ./private/timeutils
|
||||||
|
|
||||||
|
@ -16,8 +16,7 @@
|
|||||||
|
|
||||||
import std/json, std/options, std/sequtils, std/strutils
|
import std/json, std/options, std/sequtils, std/strutils
|
||||||
|
|
||||||
import ./jwa, ./jwk
|
import ./encoding, ./jwa, ./jwk
|
||||||
import ./private/encoding
|
|
||||||
import ./private/jsonutils
|
import ./private/jsonutils
|
||||||
|
|
||||||
type
|
type
|
||||||
|
@ -13,10 +13,10 @@
|
|||||||
import std/json, std/logging, std/options, std/sequtils, std/strutils
|
import std/json, std/logging, std/options, std/sequtils, std/strutils
|
||||||
|
|
||||||
import ./private/crypto
|
import ./private/crypto
|
||||||
import ./private/encoding
|
|
||||||
import ./private/jsonutils
|
import ./private/jsonutils
|
||||||
|
|
||||||
import ./claims
|
import ./claims
|
||||||
|
import ./encoding
|
||||||
import ./joseheader
|
import ./joseheader
|
||||||
import ./jwa
|
import ./jwa
|
||||||
import ./jwk
|
import ./jwk
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
import std/tables
|
import std/tables
|
||||||
import bearssl, bearssl_pkey_decoder
|
import bearssl, bearssl_pkey_decoder
|
||||||
|
|
||||||
|
import ../../encoding
|
||||||
import ../../jwa
|
import ../../jwa
|
||||||
import ../../jwk
|
import ../../jwk
|
||||||
|
|
||||||
import ../encoding
|
|
||||||
|
|
||||||
import ./hash
|
import ./hash
|
||||||
import ./pem
|
import ./pem
|
||||||
|
|
||||||
|
@ -2,11 +2,10 @@ import std/logging
|
|||||||
|
|
||||||
import bearssl
|
import bearssl
|
||||||
|
|
||||||
|
import ../../encoding
|
||||||
import ../../jwa
|
import ../../jwa
|
||||||
import ../../jwk
|
import ../../jwk
|
||||||
|
|
||||||
import ../encoding
|
|
||||||
|
|
||||||
proc bearHMAC(message: string, alg: JwtAlgorithm, key: string): string =
|
proc bearHMAC(message: string, alg: JwtAlgorithm, key: string): string =
|
||||||
|
|
||||||
var vtable: ptr HashClass
|
var vtable: ptr HashClass
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
import std/options, std/tables
|
import std/options, std/tables
|
||||||
import bearssl, bearssl_pkey_decoder
|
import bearssl, bearssl_pkey_decoder
|
||||||
|
|
||||||
|
import ../../encoding
|
||||||
import ../../jwa
|
import ../../jwa
|
||||||
import ../../jwk
|
import ../../jwk
|
||||||
|
|
||||||
import ../encoding
|
|
||||||
|
|
||||||
import ./hash
|
import ./hash
|
||||||
import ./pem
|
import ./pem
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user