(ctx context.Context, req *common.NormalizedRequest, method string, ap *auth.AuthPayload)
| 92 | } |
| 93 | |
| 94 | func (p *PreparedProject) AuthenticateConsumer(ctx context.Context, req *common.NormalizedRequest, method string, ap *auth.AuthPayload) (*common.User, error) { |
| 95 | if p.consumerAuthRegistry != nil { |
| 96 | return p.consumerAuthRegistry.Authenticate(ctx, req, method, ap) |
| 97 | } |
| 98 | return nil, nil |
| 99 | } |
| 100 | |
| 101 | func (p *PreparedProject) Forward(ctx context.Context, networkId string, nq *common.NormalizedRequest) (*common.NormalizedResponse, error) { |
| 102 | start := time.Now() |
no test coverage detected