Documentation ¶
Overview ¶
Package memory package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryJWSProvider ¶
type InMemoryJWSProvider struct {
// contains filtered or unexported fields
}
InMemoryJWSProvider uses a secret key stored in memory to sign JWT tokens using a SHA-256 HMAC signature algorithm
func New ¶
func New(pluginData map[string]string) (*InMemoryJWSProvider, error)
New creates an InMemoryJWSProvider
func (*InMemoryJWSProvider) GetKeySet ¶
func (im *InMemoryJWSProvider) GetKeySet(_ context.Context) ([]byte, error)
GetKeySet returns the JWK key set in JSON format
Click to show internal directories.
Click to hide internal directories.