auth

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccessTokens    = rest.NewEndpoint("access-tokens")
	RefreshTokens   = rest.NewEndpoint("refresh-tokens")
	Permissions     = rest.NewEndpoint("permissions")
	RolePermissions = rest.NewEndpoint("role-permissions")
	Roles           = rest.NewEndpoint("roles")
	UserRoles       = rest.NewEndpoint("user-roles")
)

Auth service children REST endpoints

View Source
var (
	LogIn  = rest.NewEndpoint("log-in")
	LogOut = rest.NewEndpoint("log-out")
)

Auth service REST endpoints

View Source
var ChildrenMaps = map[string]*rest.Map{
	AccessTokens.String():    accesstokens.Map,
	RefreshTokens.String():   refreshtokens.Map,
	Permissions.String():     permissions.Map,
	RolePermissions.String(): rolepermissions.Map,
	Roles.String():           roles.Map,
	UserRoles.String():       userroles.Map,
}

ChildrenMaps is the map of the REST API endpoints of the auth service

View Source
var Interceptions = map[string]map[rest.Method]grpc.Method{
	LogIn.String(): {
		rest.POST: auth.LogIn,
	},
	LogOut.String(): {
		rest.POST: auth.LogOut,
	},
}

Interceptions is the map of the REST API endpoints to the auth service gRPC methods

Map is the map of the REST API endpoints of the auth service

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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