Documentation
¶
Overview ¶
Package auth provides modular authentication strategies including email/password validation and Model Context Protocol API key management.
Licensed under the MIT License.
Index ¶
Constants ¶
View Source
const Version = "0.4.0"
Version is the current version of the Hyperrr Authentication Modules.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actor ¶
type Actor struct {
ID string `gorm:"primaryKey" json:"id"`
Type mdk.ActorType `gorm:"index" json:"type"`
Name string `json:"name"`
Metadata mdk.JSONMap `gorm:"type:text" json:"metadata,omitempty"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
Actor is the concrete GORM database model representing a security principal. It implements the mdk.Actor interface.
func (*Actor) GetMetadata ¶
Click to show internal directories.
Click to hide internal directories.