session

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "session",
	Short: "Operations with session token",
}

Functions

func CreateSession

func CreateSession(c *client.Client, owner *owner.ID, lifetime uint64) (*session.Token, error)

CreateSession returns newly created session token with the specified owner and lifetime. `Issued-At` and `Not-Valid-Before` fields are set to current epoch.

Types

This section is empty.

Jump to

Keyboard shortcuts

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