auth

package
v0.3.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LogIn                       = grpc.NewMethod("LogIn")
	IsAccessTokenValid          = grpc.NewMethod("IsAccessTokenValid")
	IsRefreshTokenValid         = grpc.NewMethod("IsRefreshTokenValid")
	RefreshToken                = grpc.NewMethod("RefreshToken")
	LogOut                      = grpc.NewMethod("LogOut")
	GetRefreshTokenInformation  = grpc.NewMethod("GetRefreshTokenInformation")
	GetRefreshTokensInformation = grpc.NewMethod("GetRefreshTokensInformation")
	RevokeRefreshToken          = grpc.NewMethod("RevokeRefreshToken")
	RevokeRefreshTokens         = grpc.NewMethod("RevokeRefreshTokens")
	AddPermission               = grpc.NewMethod("AddPermission")
	RevokePermission            = grpc.NewMethod("RevokePermission")
	GetPermission               = grpc.NewMethod("GetPermission")
	GetPermissions              = grpc.NewMethod("GetPermissions")
	AddRolePermission           = grpc.NewMethod("AddRolePermission")
	RevokeRolePermission        = grpc.NewMethod("RevokeRolePermission")
	GetRolePermissions          = grpc.NewMethod("GetRolePermissions")
	AddRole                     = grpc.NewMethod("AddRole")
	RevokeRole                  = grpc.NewMethod("RevokeRole")
	GetRoles                    = grpc.NewMethod("GetRoles")
	AddUserRole                 = grpc.NewMethod("AddUserRole")
	RevokeUserRole              = grpc.NewMethod("RevokeUserRole")
	GetUserRoles                = grpc.NewMethod("GetUserRoles")
)

Auth service gRPC methods

View Source
var Interceptions = map[grpc.Method]grpc.Interception{
	LogIn:                       grpc.None,
	IsAccessTokenValid:          grpc.None,
	IsRefreshTokenValid:         grpc.None,
	RefreshToken:                grpc.RefreshToken,
	LogOut:                      grpc.AccessToken,
	GetRefreshTokenInformation:  grpc.AccessToken,
	GetRefreshTokensInformation: grpc.AccessToken,
	RevokeRefreshToken:          grpc.AccessToken,
	RevokeRefreshTokens:         grpc.AccessToken,
	AddPermission:               grpc.AccessToken,
	RevokePermission:            grpc.AccessToken,
	GetPermission:               grpc.AccessToken,
	GetPermissions:              grpc.AccessToken,
	AddRolePermission:           grpc.AccessToken,
	RevokeRolePermission:        grpc.AccessToken,
	AddRole:                     grpc.AccessToken,
	RevokeRole:                  grpc.AccessToken,
	GetRoles:                    grpc.AccessToken,
	AddUserRole:                 grpc.AccessToken,
	RevokeUserRole:              grpc.AccessToken,
	GetUserRoles:                grpc.AccessToken,
}

Interceptions is the list of gRPC methods to intercept

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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