Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { EmailAttr string Key *keys.PrivateKey UserID *user.ID ContainerID cid.ID LifeTime uint64 MaxObjectSize uint64 ObjectMaxLifetime time.Duration }
Config for bearer token generator.
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator is bearer token generator.
func NewGenerator ¶
NewGenerator creates new bearer token generator using config.
Click to show internal directories.
Click to hide internal directories.