Documentation ¶
Index ¶
- type AuthRequestCache
- func (c *AuthRequestCache) DeleteAuthRequest(_ context.Context, id string) error
- func (c *AuthRequestCache) GetAuthRequestByCode(_ context.Context, code string) (*domain.AuthRequest, error)
- func (c *AuthRequestCache) GetAuthRequestByID(_ context.Context, id string) (*domain.AuthRequest, error)
- func (c *AuthRequestCache) Health(ctx context.Context) error
- func (c *AuthRequestCache) SaveAuthRequest(_ context.Context, request *domain.AuthRequest) error
- func (c *AuthRequestCache) UpdateAuthRequest(_ context.Context, request *domain.AuthRequest) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthRequestCache ¶
type AuthRequestCache struct {
// contains filtered or unexported fields
}
func Start ¶
func Start(conf Config) (*AuthRequestCache, error)
func (*AuthRequestCache) DeleteAuthRequest ¶ added in v0.20.0
func (c *AuthRequestCache) DeleteAuthRequest(_ context.Context, id string) error
func (*AuthRequestCache) GetAuthRequestByCode ¶ added in v0.20.0
func (c *AuthRequestCache) GetAuthRequestByCode(_ context.Context, code string) (*domain.AuthRequest, error)
func (*AuthRequestCache) GetAuthRequestByID ¶
func (c *AuthRequestCache) GetAuthRequestByID(_ context.Context, id string) (*domain.AuthRequest, error)
func (*AuthRequestCache) SaveAuthRequest ¶
func (c *AuthRequestCache) SaveAuthRequest(_ context.Context, request *domain.AuthRequest) error
func (*AuthRequestCache) UpdateAuthRequest ¶ added in v0.20.0
func (c *AuthRequestCache) UpdateAuthRequest(_ context.Context, request *domain.AuthRequest) error
Click to show internal directories.
Click to hide internal directories.