Documentation ¶ Index ¶ type Provider type Service func New(renderer *renderer.Service, providers ...Provider) Service func (s Service) GetUser(ctx context.Context, w http.ResponseWriter, r *http.Request) (model.User, error) func (s Service) OnUnauthorized(w http.ResponseWriter, r *http.Request, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Provider ¶ type Provider struct { Auth model.Authentication Name string RegisterPath string } type Service ¶ type Service struct { // contains filtered or unexported fields } func New ¶ func New(renderer *renderer.Service, providers ...Provider) Service func (Service) GetUser ¶ func (s Service) GetUser(ctx context.Context, w http.ResponseWriter, r *http.Request) (model.User, error) func (Service) OnUnauthorized ¶ func (s Service) OnUnauthorized(w http.ResponseWriter, r *http.Request, err error) Source Files ¶ View all Source files chooser.go Click to show internal directories. Click to hide internal directories.