Documentation ¶
Overview ¶
Package auth represent the encore application.
Index ¶
- type Service
- func (s *Service) AuthHandler(ctx context.Context, ap *authParams) (eauth.UID, *auth.Claims, error)
- func (s *Service) Authorize(ctx context.Context, authInfo mid.AuthInfo) error
- func (s *Service) Shutdown(force context.Context)
- func (s *Service) UserToken(ctx context.Context, kid string) (token, error)
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
}
Service represents the encore service application.
func NewService ¶
NewService is called to create a new encore Service.
func (*Service) AuthHandler ¶
Click to show internal directories.
Click to hide internal directories.