Documentation ¶
Index ¶
- type DataController
- func (c *DataController) Inject(s application.SecurityService)
- func (c *DataController) IsGranted(ctx context.Context, r *web.Request, params web.RequestParams) interface{}
- func (c *DataController) IsLoggedIn(ctx context.Context, r *web.Request, _ web.RequestParams) interface{}
- func (c *DataController) IsLoggedOut(ctx context.Context, r *web.Request, _ web.RequestParams) interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataController ¶
type DataController struct {
// contains filtered or unexported fields
}
DataController returns helper for checking access
func (*DataController) Inject ¶
func (c *DataController) Inject(s application.SecurityService)
Inject security service dependency
func (*DataController) IsGranted ¶
func (c *DataController) IsGranted(ctx context.Context, r *web.Request, params web.RequestParams) interface{}
IsGranted permission check
func (*DataController) IsLoggedIn ¶
func (c *DataController) IsLoggedIn(ctx context.Context, r *web.Request, _ web.RequestParams) interface{}
IsLoggedIn check
func (*DataController) IsLoggedOut ¶
func (c *DataController) IsLoggedOut(ctx context.Context, r *web.Request, _ web.RequestParams) interface{}
IsLoggedOut check
Click to show internal directories.
Click to hide internal directories.