Documentation
¶
Overview ¶
Package session provides in-memory storage of secure session details.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session interface {
Set(*identity.ID, string, string) error
ID() *identity.ID
Token() string
Passphrase() string
HasToken() bool
HasPassphrase() bool
Logout()
String() string
}
Session is the interface for access to secure session details.
func NewSession ¶
func NewSession() Session
NewSession returns the default implementation of the Session interface.
Click to show internal directories.
Click to hide internal directories.