Versions in this module Expand all Collapse all v1 v1.1.0 Oct 2, 2020 Changes in this version + const TimeFormat + func Discharge(d *Discharger, root *macaroon.Macaroon, acc *ssoauth.Account, ...) (macaroon.Slice, error) + func GetCaveatID(d *Discharger, m *macaroon.Macaroon) ([]byte, error) + type Discharger struct + func (d *Discharger) Discharge(caveatID []byte, acc *ssoauth.Account, expires, validSince time.Time) (*macaroon.Macaroon, error) + func (d *Discharger) Location() string + func (d *Discharger) PublicKey() *rsa.PublicKey