public static Task <OperationResult> ExecuteWithAuth(this TestApiOperationExecutor executor, object operation, params Claim[] claims) { var context = executor.ContextFor(operation); context.WithAuth(claims); return(executor.ExecuteAsync(context)); }
public static Task <OperationResult> ExecuteWithAuth(this TestApiOperationExecutor executor, object operation, params Claim[] claims) { var context = executor.ContextFor(operation); context.WithAuth(claims); return(executor.ExecuteAsync(context)); }