Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(application contracts.Application) *Service
func (*Service) RegisterGuard ¶
func (s *Service) RegisterGuard(name string, constructor contracts.AuthGuardConstructor) error
type SessionGuard ¶
type SessionGuard struct {
// contains filtered or unexported fields
}
func NewSessionGuard ¶
func NewSessionGuard(service contracts.SessionService) *SessionGuard
type UserSessionData ¶
type UserSessionData struct { Id string `json:"id"` Name string `json:"name"` PreferredUsername string `json:"preferred_username"` Email string `json:"email"` Phone string `json:"phone"` Picture string `json:"picture"` Roles []models.Role `json:"roles"` ImpersonatorId *string `json:"impersonator_id"` }
Click to show internal directories.
Click to hide internal directories.