Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dashboard ¶
type Dashboard struct {
// contains filtered or unexported fields
}
Dashboard is a dashboard user interface.
func (*Dashboard) CheckRequestToken ¶
CheckRequestToken checks the given token and action context. The given actions must be same as when the token was created.
func (*Dashboard) CreateRequestToken ¶
func (d *Dashboard) CreateRequestToken(actions ...string) (*RequestToken, error)
CreateRequestToken creates a new request token with the given actions as context.
type RequestToken ¶
RequestToken is used for CSRF protection.
Click to show internal directories.
Click to hide internal directories.