Documentation ¶
Index ¶
- Variables
- func EmbeddedTemplates(t *template.Template) (tpl *template.Template, err error)
- func New(ctx context.Context, log *zap.Logger, oa2m oauth2def.Manager, s store.Storer, ...) (svc *service, err error)
- func NewReloadableTemplates(base *template.Template, loader templateLoader) *templateReloader
- func NewStaticTemplates(base *template.Template, loader templateLoader) (s *templateStatic, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var PublicAssets embed.FS
View Source
var Templates embed.FS
Functions ¶
func EmbeddedTemplates ¶
EmbeddedTemplates returns embedded templates.
func New ¶
func New(ctx context.Context, log *zap.Logger, oa2m oauth2def.Manager, s store.Storer, opt options.AuthOpt, defClient *types.AuthClient) (svc *service, err error)
New initializes Auth service that orchestrates session manager, oauth2 manager and http request handlers
func NewReloadableTemplates ¶
func NewStaticTemplates ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.