Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOIDCClient ¶
type MockOIDCClient struct { OnClose error STSClient MockSTSClient }
func (MockOIDCClient) Close ¶
func (m MockOIDCClient) Close() error
func (MockOIDCClient) STS ¶
func (m MockOIDCClient) STS() oidc.SecurityTokenServiceClient
type MockSTSClient ¶
type MockSTSClient struct {
OnExchange []STSOnExchange
}
func (MockSTSClient) Exchange ¶
func (m MockSTSClient) Exchange(_ context.Context, given *oidc.ExchangeRequest, _ ...grpc.CallOption) (*oidc.RawToken, error)
type STSOnExchange ¶
type STSOnExchange struct { Given *oidc.ExchangeRequest Exchanged *oidc.RawToken Error error }
Click to show internal directories.
Click to hide internal directories.