kvnoncestore

package
v1.0.0-alpha2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2018 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package kvnoncestore is an openid.NonceStore that is backed by a store.KeyValueStore.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	// contains filtered or unexported fields
}

Store is an openid.NonceStore that is backed by a store.KeyValueStore.

func New

func New(store store.KeyValueStore, maxAge time.Duration) *Store

New creates a new Store.

func (*Store) Accept

func (s *Store) Accept(endpoint, nonce string) error

Accept implements openid.NonceStore.Accept.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL