Back to godoc.org

Package handler

v1.2.6
Latest Go to latest

The latest major version is .

Published: Aug 22, 2019 | License: Apache-2.0 | Module: github.com/chremoas/auth-srv

Index

func NewAuthHandler

func NewAuthHandler(config *config.Configuration, service micro.Service, log *zap.Logger) abaeve_auth.UserAuthenticationHandler

type AuthHandler

type AuthHandler struct {
	Client client.Client
	Logger *zap.Logger
}

func (*AuthHandler) Confirm

func (ah *AuthHandler) Confirm(context context.Context, request *abaeve_auth.AuthConfirmRequest, response *abaeve_auth.AuthConfirmResponse) error

func (*AuthHandler) Create

func (ah *AuthHandler) Create(context context.Context, request *abaeve_auth.AuthCreateRequest, response *abaeve_auth.AuthCreateResponse) error

func (*AuthHandler) SyncToRoleService

func (ah *AuthHandler) SyncToRoleService(ctx context.Context, request *abaeve_auth.SyncRequest, response *abaeve_auth.SyncToRoleResponse) error

type EntityAdminHandler

type EntityAdminHandler struct {
	Client client.Client
	Logger *zap.Logger
}

func (*EntityAdminHandler) AllianceUpdate

func (eah *EntityAdminHandler) AllianceUpdate(ctx context.Context, request *abaeve_auth.AllianceAdminRequest, response *abaeve_auth.EntityAdminResponse) error

TODO: Do I really give a shit on delete whether or not the attributes besides id's are valid?

func (*EntityAdminHandler) CharacterUpdate

func (eah *EntityAdminHandler) CharacterUpdate(ctx context.Context, request *abaeve_auth.CharacterAdminRequest, response *abaeve_auth.EntityAdminResponse) error

func (*EntityAdminHandler) CorporationUpdate

func (eah *EntityAdminHandler) CorporationUpdate(ctx context.Context, request *abaeve_auth.CorporationAdminRequest, response *abaeve_auth.EntityAdminResponse) error

type EntityQueryHandler

type EntityQueryHandler struct {
	Client client.Client
	Logger *zap.Logger
}

func (*EntityQueryHandler) GetAlliances

func (eqh *EntityQueryHandler) GetAlliances(ctx context.Context, request *abaeve_auth.EntityQueryRequest, response *abaeve_auth.AlliancesResponse) error

func (*EntityQueryHandler) GetCharacters

func (eqh *EntityQueryHandler) GetCharacters(ctx context.Context, request *abaeve_auth.EntityQueryRequest, response *abaeve_auth.CharactersResponse) error

func (*EntityQueryHandler) GetCorporations

func (eqh *EntityQueryHandler) GetCorporations(ctx context.Context, request *abaeve_auth.EntityQueryRequest, response *abaeve_auth.CorporationsResponse) error

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier