auth

package
v0.0.0-...-c4b491b Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: GPL-3.0, GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MacaroonDeserialize

func MacaroonDeserialize(serializedMacaroon string) (*macaroonv2.Macaroon, error)

MacaroonDeserialize returns a deserialized macaroon from a given store-compatible serialization

func MacaroonSerialize

func MacaroonSerialize(m *macaroonv2.Macaroon) (string, error)

MacaroonSerialize returns a store-compatible serialized representation of the given macaroon

func MustNewMacaroon

func MustNewMacaroon(rootKey, id []byte, loc string, vers macaroonv2.Version) *macaroonv2.Macaroon

Types

This section is empty.

Jump to

Keyboard shortcuts

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