secret

package
v0.36.3 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

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

func New

func New() *Cache

New returns an empty Cache.

func (*Cache) GetCSRFCookieEncoderHashKey

func (c *Cache) GetCSRFCookieEncoderHashKey() []byte

func (*Cache) GetStateEncoderBlockKey

func (c *Cache) GetStateEncoderBlockKey(oidcIssuer string) []byte

func (*Cache) GetStateEncoderHashKey

func (c *Cache) GetStateEncoderHashKey(oidcIssuer string) []byte

func (*Cache) GetTokenHMACKey

func (c *Cache) GetTokenHMACKey(oidcIssuer string) []byte

func (*Cache) SetCSRFCookieEncoderHashKey

func (c *Cache) SetCSRFCookieEncoderHashKey(key []byte)

func (*Cache) SetStateEncoderBlockKey

func (c *Cache) SetStateEncoderBlockKey(oidcIssuer string, key []byte)

func (*Cache) SetStateEncoderHashKey

func (c *Cache) SetStateEncoderHashKey(oidcIssuer string, key []byte)

func (*Cache) SetTokenHMACKey

func (c *Cache) SetTokenHMACKey(oidcIssuer string, key []byte)

Jump to

Keyboard shortcuts

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