flowidmethods

package
v0.0.0-...-836e728 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPubKeyDenied = errors.New("public key denied")
View Source
var ErrSignDenied = errors.New("signature denied")

Functions

func VerifySignAndGetPaseto

func VerifySignAndGetPaseto(publicKey secp256k1.PubKey, signatureBase64 string, flowId string) (string, error)

VerifySignAndGetPaseto verifies the signature for given flowID and returns paseto if it is valid

Also deletes the flow id after approving signature

Types

This section is empty.

Jump to

Keyboard shortcuts

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