Documentation ¶
Index ¶
- type JWKSFetcher
- func (_m *JWKSFetcher) FetchKeys(ctx context.Context, jwksUrl string) (jwk.Set, error)
- func (_m *JWKSFetcher) Get(ctx context.Context, jwksUrl string) (jwk.Set, error)
- func (_m *JWKSFetcher) Refresh(ctx context.Context, jwksUrl string) (jwk.Set, error)
- func (_m *JWKSFetcher) Register(jwksUrl string, options ...jwk.RegisterOption) error
- type JWTValidator
- type KeyFetcher
- type Set
- func (_m *Set) AddKey(_a0 jwk.Key) error
- func (_m *Set) Clear() error
- func (_m *Set) Clone() (jwk.Set, error)
- func (_m *Set) Get(_a0 string) (interface{}, bool)
- func (_m *Set) Index(_a0 jwk.Key) int
- func (_m *Set) Iterate(_a0 context.Context) mapiter.Iterator
- func (_m *Set) Key(_a0 int) (jwk.Key, bool)
- func (_m *Set) Keys(_a0 context.Context) arrayiter.Iterator
- func (_m *Set) Len() int
- func (_m *Set) LookupKeyID(_a0 string) (jwk.Key, bool)
- func (_m *Set) Remove(_a0 string) error
- func (_m *Set) RemoveKey(_a0 jwk.Key) error
- func (_m *Set) Set(_a0 string, _a1 interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWKSFetcher ¶
JWKSFetcher is an autogenerated mock type for the JWKSFetcher type
func NewJWKSFetcher ¶
func NewJWKSFetcher(t interface { mock.TestingT Cleanup(func()) }) *JWKSFetcher
NewJWKSFetcher creates a new instance of JWKSFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*JWKSFetcher) Register ¶
func (_m *JWKSFetcher) Register(jwksUrl string, options ...jwk.RegisterOption) error
Register provides a mock function with given fields: jwksUrl, options
type JWTValidator ¶
JWTValidator is an autogenerated mock type for the JWTValidator type
func NewJWTValidator ¶
func NewJWTValidator(t interface { mock.TestingT Cleanup(func()) }) *JWTValidator
NewJWTValidator creates a new instance of JWTValidator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type KeyFetcher ¶
KeyFetcher is an autogenerated mock type for the KeyFetcher type
func NewKeyFetcher ¶
func NewKeyFetcher(t interface { mock.TestingT Cleanup(func()) }) *KeyFetcher
NewKeyFetcher creates a new instance of KeyFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type Set ¶
Set is an autogenerated mock type for the Set type
func NewSet ¶
NewSet creates a new instance of Set. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Set) LookupKeyID ¶
LookupKeyID provides a mock function with given fields: _a0