Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TokeRepositoryImplV1 ¶
type TokeRepositoryImplV1 struct {
// contains filtered or unexported fields
}
func NewTokenRepositoryV1 ¶
func NewTokenRepositoryV1(client *redis.Client) (*TokeRepositoryImplV1, error)
NewTokenRepositoryV1 creates a new token repository
func (*TokeRepositoryImplV1) GetTokenPayload ¶
func (tr *TokeRepositoryImplV1) GetTokenPayload(ctx context.Context, accessToken string) (*core.TokenPayload, error)
GetTokenPayload gets the token payload from cache
Click to show internal directories.
Click to hide internal directories.