Documentation
¶
Index ¶
- type Config
- type Service
- func (s *Service) Init(ctx context.Context) error
- func (s *Service) LookupPublicKey(ctx context.Context, tokenString string) (*rsa.PublicKey, error)
- func (s *Service) PublicKeys() (map[string]*rsa.PublicKey, error)
- func (s *Service) ValidaToken(ctx context.Context, tokenString string) (*jwt.Token, error)
- func (s *Service) Validate(ctx context.Context, tokenString string) (*jwt.Token, error)
- func (s *Service) VerifyClaims(ctx context.Context, tokenString string) (*sjwt.Claims, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
func (*Service) LookupPublicKey ¶ added in v0.18.0
func (*Service) PublicKeys ¶ added in v0.18.0
func (*Service) ValidaToken ¶ added in v0.3.2
Click to show internal directories.
Click to hide internal directories.