Documentation ¶
Index ¶
Constants ¶
View Source
const (
// StoreName is the name of the user store.
StoreName = "edgeagent_users"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store stores Users.
func NewStore ¶
func NewStore(p ariesstorage.Provider) (*Store, error)
NewStore returns a new user Store.
type User ¶
type User struct { Sub string `json:"sub"` Name string `json:"name"` GivenName string `json:"given_name"` FamilyName string `json:"family_name"` Email string `json:"email"` }
User is a user of the wallet. The user attributes are based on standard OIDC claims: https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims.
Click to show internal directories.
Click to hide internal directories.