jwt

package
v0.0.0-...-8dc8ab2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DATA_ENCODING = "utf8"
View Source
const DID_DELIMITER = ":"
View Source
const DID_METHOD = "key"
View Source
const DID_PREFIX = "did"
View Source
const JSON_ENCODING = "utf8"
View Source
const JWT_DELIMITER = "."
View Source
const JWT_ENCODING = "base64url"
View Source
const MULTIBASE_BASE58BTC_PREFIX = 'z'
View Source
const MULTICODEC_ED25519_BASE = "z"
View Source
const MULTICODEC_ED25519_ENCODING = "base58btc"
View Source
const MULTICODEC_ED25519_LENGTH = 32

Variables

This section is empty.

Functions

func Sign

func Sign(act string, sub string, aud string, iat uint64, ttl uint64, sk ed25519.PrivateKey) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL