Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthCodeChecker ¶
type AuthCodeChecker struct {
// contains filtered or unexported fields
}
func NewAuthCodeChecker ¶
func NewAuthCodeChecker(tuning persistence.ConfigTuningEntry) *AuthCodeChecker
func (*AuthCodeChecker) Check ¶
func (acc *AuthCodeChecker) Check(ctx context.Context, entry *persistence.AuthCodeEntry) error
Check tests whether the given authorization code entry is still valid. If it is, it returns nil. Otherwise, it returns an error indicating the reason the entry is not valid.
Click to show internal directories.
Click to hide internal directories.