Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JwtService ¶
type JwtService struct {
// contains filtered or unexported fields
}
func NewJwtService ¶
func NewJwtService( ctx context.Context, logger logger.Logger, blockedTokenRepository repository.BlockedToken, jwtTokenAcceptedIssuers []string, jwtSecretSalt string, jwtTokenIssuer string, jwtTokenEncryptAlgo string, jwtTokenExpiresAfter int64, ) *JwtService
func (*JwtService) Block ¶
func (s *JwtService) Block(token string) error
Block will mark the token as blocked into the storage.
Click to show internal directories.
Click to hide internal directories.