(token *auth.AuthToken)
| 282 | } |
| 283 | |
| 284 | func (e HttpExecutor) toAuthorization(token *auth.AuthToken) *network.Authorization { |
| 285 | if token == nil { |
| 286 | return nil |
| 287 | } |
| 288 | return network.NewAuthorization(token.Type, token.Value) |
| 289 | } |
| 290 | |
| 291 | func (e HttpExecutor) Call(ctx ExecutionContext, writer output.OutputWriter, logger log.Logger) error { |
| 292 | uri, err := e.formatUri(ctx.BaseUri, ctx.Route, e.pathParameters(ctx), ctx.Parameters.Query()) |
no test coverage detected