Documentation ¶
Index ¶
- type IJWKRepository
- type JWKUsecase
- func (u *JWKUsecase) GetIssuedAt(now time.Time, token string, blogKey string) *time.Time
- func (u *JWKUsecase) GetLatestKey(now time.Time) (jwk.Key, error)
- func (u *JWKUsecase) GetValidKeySet(now time.Time) (jwk.Set, error)
- func (u *JWKUsecase) New(now time.Time, blogKey string) (*string, error)
- func (u *JWKUsecase) RotateKey(now time.Time) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IJWKRepository ¶
type JWKUsecase ¶
type JWKUsecase struct {
// contains filtered or unexported fields
}
func NewJWKUsecase ¶
func NewJWKUsecase(c *bigcache.BigCache, r IJWKRepository) *JWKUsecase
func (*JWKUsecase) GetIssuedAt ¶
func (*JWKUsecase) GetLatestKey ¶
func (*JWKUsecase) GetValidKeySet ¶
Click to show internal directories.
Click to hide internal directories.