Documentation ¶
Index ¶
- Variables
- func Register(server, realm, client string)
- type App
- type User
- func (p User) AfterFind(u *evo.User) error
- func (p User) FromRequest(request *evo.Request)
- func (p User) HasPerm(u *evo.User, v string) bool
- func (p User) HasRole(u *evo.User, v interface{}) bool
- func (p User) Image(u *evo.User) string
- func (p User) Save(u *evo.User) error
- func (p User) SetGroup(u *evo.User, group interface{}) error
- func (p User) SetPassword(u *evo.User, password string) error
- func (p User) SyncPermissions(app string, perms evo.Permissions)
Constants ¶
This section is empty.
Variables ¶
View Source
var Certificates jose.JSONWebKeySet
View Source
var Client string
View Source
var Realm string
View Source
var Server string
Functions ¶
Types ¶
type App ¶
type App struct{}
func (App) Permissions ¶
func (App) Permissions() []evo.Permission
Permissions setup permissions of app
type User ¶
type User struct{}
func (User) SyncPermissions ¶
func (p User) SyncPermissions(app string, perms evo.Permissions)
Click to show internal directories.
Click to hide internal directories.