Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxNonceStore ¶
type TxNonceStore struct {
// contains filtered or unexported fields
}
TxNonceStore stores oidc transactions in redis.
func New ¶
func New(redisClient *redis.Client, ttlSec int32) *TxNonceStore
New creates TxNonceStore.
func (*TxNonceStore) GetAndDelete ¶
GetAndDelete get and then delete transaction by one time token.
func (*TxNonceStore) SetIfNotExist ¶
SetIfNotExist stores transaction if key not exists et.
Click to show internal directories.
Click to hide internal directories.