jwks

package
v0.0.0-...-0ec3e7f Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Jwk

type Jwk map[string]interface{}

type JwkSet

type JwkSet map[string][]Jwk

func NewJwkSet

func NewJwkSet(target string) (*JwkSet, error)

Creates a new jwk set from a given target url.

func (*JwkSet) GetKey

func (jwkSet *JwkSet) GetKey(kid string) (interface{}, error)

Searches the key with given kid and returns it as an object of that specific key type. Possible key types: RSA.

Jump to

Keyboard shortcuts

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