user

package
v0.0.0-...-5f3117a Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Person

type Person struct {
	ID        string
	Firstname string
	Lastname  string
	Email     string
	Phone     string
	Birthdate time.Time
}

type User

type User struct {
	ID       string
	Username string
	Person   Person
}

type UserService

type UserService struct {
	// contains filtered or unexported fields
}

func NewUserService

func NewUserService(keycloakService *keycloak.KeycloakService) *UserService

func (*UserService) GetUsers

func (u *UserService) GetUsers() map[string]*User

func (*UserService) HandleLogin

func (u *UserService) HandleLogin(ctx context.Context, state string, code string) (*keycloak.User, error)

Jump to

Keyboard shortcuts

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