Documentation
¶
Index ¶
- type NonceService
- func (ns *NonceService) AsSource() jose.NonceSource
- func (ns *NonceService) Nonce(ctx context.Context, req *emptypb.Empty, opts ...grpc.CallOption) (*noncepb.NonceMessage, error)
- func (ns *NonceService) Redeem(ctx context.Context, req *noncepb.NonceMessage, opts ...grpc.CallOption) (*noncepb.ValidMessage, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NonceService ¶ added in v0.20251103.0
type NonceService struct {
noncepb.NonceServiceClient
Impl *nonce.NonceService
}
NonceService implements noncepb.NonceServiceClient for tests.
func (*NonceService) AsSource ¶ added in v0.20251103.0
func (ns *NonceService) AsSource() jose.NonceSource
AsSource returns a wrapper type that implements jose.NonceSource using this inmemory service. This is useful so that tests can get nonces for signing their JWS that will be accepted by the test WFE configured using this service.
func (*NonceService) Nonce ¶ added in v0.20251103.0
func (ns *NonceService) Nonce(ctx context.Context, req *emptypb.Empty, opts ...grpc.CallOption) (*noncepb.NonceMessage, error)
func (*NonceService) Redeem ¶ added in v0.20251103.0
func (ns *NonceService) Redeem(ctx context.Context, req *noncepb.NonceMessage, opts ...grpc.CallOption) (*noncepb.ValidMessage, error)
Click to show internal directories.
Click to hide internal directories.