Documentation ¶
Overview ¶
Package jwtauth is responsible for implementing the auth methods specified in the auth folder of the inspr pkg.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWTauth ¶
type JWTauth struct {
// contains filtered or unexported fields
}
JWTauth implements the Auth interface for jwt authetication provider
func NewJWTauth ¶
NewJWTauth takes an *rsa.PublicKey and returns an structure that implements the auth interface
func (*JWTauth) Init ¶
Init receives a payload and returns it in signed jwt format. Uses JWT authentication provider
Click to show internal directories.
Click to hide internal directories.