Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Labels = []Label{Pygmalion}
Functions ¶
This section is empty.
Types ¶
type Label ¶
type Label = string
Label identifies a credential set
const (
Pygmalion Label = "Pygmalion"
)
type SecureService ¶
type SecureService interface {
Labels() []Label
GetUsers() map[Label]string
SetIdentities(payload map[Label]cred.IdentityPayload)
}
SecureService exposes limited credential operations
type Service ¶
type Service interface {
Labels() []Label
RegisterLabel(label Label)
GetUsers() map[Label]string
SetIdentities(payload map[Label]cred.IdentityPayload)
GetIdentities() map[Label]cred.Identity
SetIdentity(label Label, payload cred.IdentityPayload)
GetIdentity(label Label) cred.Identity
GetReader(label Label) cred.IdentityReader
}
Service manages secure credential storage
Click to show internal directories.
Click to hide internal directories.