service

package
v0.0.0-...-9c57d75 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthHandler

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

func NewAuthHandler

func NewAuthHandler(c *server.Config) *AuthHandler

func (*AuthHandler) Authenticate

func (h *AuthHandler) Authenticate(ctx context.Context, req *pb.AuthRequest) (*pb.AuthResponse, error)

func (*AuthHandler) Refresh

func (h *AuthHandler) Refresh(ctx context.Context, req *pb.AuthRequest) (*pb.AuthResponse, error)

func (*AuthHandler) Validate

func (h *AuthHandler) Validate(ctx context.Context, req *wrappers.StringValue) (*pb.AuthResponse, error)

type GroupHandler

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

func NewGroupHandler

func NewGroupHandler(c *server.Config) *GroupHandler

func (*GroupHandler) Create

func (h *GroupHandler) Create(ctx context.Context, req *pb.GroupRequest) (*pb.GroupResponse, error)

func (*GroupHandler) Delete

func (h *GroupHandler) Delete(ctx context.Context, req *pb.GroupRequest) (*pb.GroupResponse, error)

func (*GroupHandler) Get

func (h *GroupHandler) Get(ctx context.Context, req *pb.GroupRequest) (*ptypes.Group, error)

func (*GroupHandler) Update

func (h *GroupHandler) Update(ctx context.Context, req *ptypes.Group) (*pb.GroupResponse, error)

type PersonHandler

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

func NewPersonHandler

func NewPersonHandler(c *server.Config) *PersonHandler

func (*PersonHandler) Get

type RealmHandler

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

func NewRealmHandler

func NewRealmHandler(c *server.Config) *RealmHandler

func (*RealmHandler) Create

func (h *RealmHandler) Create(ctx context.Context, req *ptypes.Realm) (*pb.RealmResponse, error)

func (*RealmHandler) Delete

func (h *RealmHandler) Delete(ctx context.Context, req *pb.RealmRequest) (*pb.RealmResponse, error)

func (*RealmHandler) Get

func (h *RealmHandler) Get(ctx context.Context, req *pb.RealmRequest) (*ptypes.Realm, error)

func (*RealmHandler) Update

func (h *RealmHandler) Update(ctx context.Context, req *ptypes.Realm) (*pb.RealmResponse, error)

type RoleHandler

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

func NewRoleHandler

func NewRoleHandler(c *server.Config) *RoleHandler

func (*RoleHandler) Create

func (h *RoleHandler) Create(ctx context.Context, req *pb.RoleRequest) (*pb.RoleResponse, error)

func (*RoleHandler) Delete

func (h *RoleHandler) Delete(ctx context.Context, req *pb.RoleRequest) (*pb.RoleResponse, error)

func (*RoleHandler) Get

func (h *RoleHandler) Get(ctx context.Context, req *pb.RoleRequest) (*ptypes.Role, error)

func (*RoleHandler) Update

func (h *RoleHandler) Update(ctx context.Context, req *pb.RoleRequest) (*pb.RoleResponse, error)

type UserHandler

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

func NewUserHandler

func NewUserHandler(c *server.Config) *UserHandler

func (*UserHandler) Create

func (h *UserHandler) Create(ctx context.Context, req *pb.UserRequest) (*pb.UserResponse, error)

func (*UserHandler) Delete

func (h *UserHandler) Delete(ctx context.Context, req *pb.UserRequest) (*pb.UserResponse, error)

func (*UserHandler) Get

func (h *UserHandler) Get(ctx context.Context, req *pb.UserRequest) (*ptypes.User, error)

func (*UserHandler) Update

func (h *UserHandler) Update(ctx context.Context, req *pb.UserRequest) (*pb.UserResponse, error)

Jump to

Keyboard shortcuts

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