keycloak

package
v1.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2022 License: MIT Imports: 10 Imported by: 1

Documentation

Index

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

func Register

func Register(server, realm, client string)

Types

type App

type App struct{}

func (App) Menus

func (App) Menus() []menu.Menu

Menus setup menus

func (App) Pack

func (App) Pack()

func (App) Permissions

func (App) Permissions() []evo.Permission

Permissions setup permissions of app

func (App) Register

func (App) Register()

Register the bible

func (App) Router

func (App) Router()

Router setup routers

func (App) WhenReady

func (App) WhenReady()

WhenReady called after setup all apps

type User

type User struct{}

func (User) AfterFind

func (p User) AfterFind(u *evo.User) error

func (User) FromRequest

func (p User) FromRequest(request *evo.Request)

SetGroup set user group

func (User) HasPerm

func (p User) HasPerm(u *evo.User, v string) bool

func (User) HasRole

func (p User) HasRole(u *evo.User, v interface{}) bool

func (User) Image

func (p User) Image(u *evo.User) string

func (User) Save

func (p User) Save(u *evo.User) error

func (User) SetGroup

func (p User) SetGroup(u *evo.User, group interface{}) error

func (User) SetPassword

func (p User) SetPassword(u *evo.User, password string) error

func (User) SyncPermissions

func (p User) SyncPermissions(app string, perms evo.Permissions)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL