Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthInterceptor ¶
type AuthInterceptor struct {
// contains filtered or unexported fields
}
func NewAuthInterceptor ¶
func NewAuthInterceptor(jwtManager JWTManager) (*AuthInterceptor, error)
func (*AuthInterceptor) Unary ¶
func (interceptor *AuthInterceptor) Unary() grpc.UnaryServerInterceptor
type AuthServer ¶
type AuthServer struct {
// contains filtered or unexported fields
}
func NewAuthServer ¶
func NewAuthServer(jwtManager *JWTManager) *AuthServer
type CaosJWTManager ¶
type CaosJWTManager struct {
// contains filtered or unexported fields
}
func NewCaosJWTManager ¶
func NewCaosJWTManager() *CaosJWTManager
type SimpleJWTManager ¶
type SimpleJWTManager struct {
// contains filtered or unexported fields
}
func NewSimpleJWTManager ¶
func NewSimpleJWTManager() *SimpleJWTManager
type UserClaims ¶
type UserClaims struct { jwt.StandardClaims Username string `json:"name"` FamilyName string `json:"family_name"` Email string `json:"email"` }
Click to show internal directories.
Click to hide internal directories.