authjsgo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64urlEncode

func Base64urlEncode(data []byte) string

func GeneratedKey

func GeneratedKey(jws *jose.JSONWebEncryption, secret, salt []byte) ([]byte, error)

Types

type Digest

type Digest string

func GetDigest

func GetDigest(encryptionSecret []byte) Digest

type JWK

type JWK struct {
	Kty string `json:"kty"`
	Crv string `json:"crv,omitempty"`
	X   string `json:"x,omitempty"`
	Y   string `json:"y,omitempty"`
	E   string `json:"e,omitempty"`
	N   string `json:"n,omitempty"`
	K   string `json:"k,omitempty"`
}

Jump to

Keyboard shortcuts

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