Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryAuthentication ¶
type CategoryAuthentication struct { OptionService service.OptionService CategoryService service.CategoryService }
func NewCategoryAuthentication ¶
func NewCategoryAuthentication( optionService service.OptionService, categoryService service.CategoryService, ) *CategoryAuthentication
func (*CategoryAuthentication) Authenticate ¶
func (c *CategoryAuthentication) Authenticate(ctx context.Context, token string, id int32, password string) (string, error)
Authenticate implements ContentAuthentication
func (*CategoryAuthentication) IsAuthenticated ¶
type ContentAuthentication ¶
type PostAuthentication ¶
type PostAuthentication struct { OptionService service.OptionService PostService service.PostService PostCategoryService service.PostCategoryService CategoryService service.CategoryService }
func NewPostAuthentication ¶
func NewPostAuthentication( optionService service.OptionService, postService service.PostService, categoryService service.CategoryService, postCategoryService service.PostCategoryService, ) *PostAuthentication
func (*PostAuthentication) Authenticate ¶
func (*PostAuthentication) IsAuthenticated ¶
Click to show internal directories.
Click to hide internal directories.